# Buildbot exports some useful env variables.
# Check for $AMVER. I couldn't come up with a good way to detect it.
if [ -z $AMVER ]; then
- AMVER=amanda-2.6.0p1
+ AMVER=amanda-2.6.0p2
fi
# Check for AMTARBALL variable.
if [ -z $AMTARBALL ]; then
# this is useful for changing %amanda_release or %amanda_version
rpmbuild -ba --define "_topdir ${AMPKGDIR}/rpm" \
${AMPKGDIR}/rpm/SPECS/amanda.spec
+cp rpm/RPMS/*/*.rpm . || exit 1
+cp rpm/SRPMS/*.rpm . || exit 1