X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=packaging%2Frpm%2Fbuildpkg;h=6361d140ae15049bcedbeb51152a5f57bf1676ec;hb=fb2bd066c2f8b34addafe48d62550e3033a59431;hp=ec5010dc5e0a65f1ce16a0ed367c0ac1c607b799;hpb=a6127998ee6dcab6bb034f6ca985b07804a86f9a;p=debian%2Famanda diff --git a/packaging/rpm/buildpkg b/packaging/rpm/buildpkg index ec5010d..6361d14 100755 --- a/packaging/rpm/buildpkg +++ b/packaging/rpm/buildpkg @@ -6,7 +6,7 @@ set -x # 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 @@ -48,3 +48,5 @@ cp packaging/rpm/amanda.spec rpm/SPECS/amanda.spec # 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