aboutsummaryrefslogtreecommitdiffstats
path: root/build_rpm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-04-29 17:16:45 +0000
committerFrancois Pons <fpons@mandriva.com>2003-04-29 17:16:45 +0000
commit60031191b7012fdfe8e1af6bd43ff9b36b0c5825 (patch)
tree398598eb74a6fa2df317dcae75af8d06f4b917f3 /build_rpm
parentdda88bb6d1e792766d518edd4c23df6936e92a01 (diff)
downloadperl-URPM-60031191b7012fdfe8e1af6bd43ff9b36b0c5825.tar
perl-URPM-60031191b7012fdfe8e1af6bd43ff9b36b0c5825.tar.gz
perl-URPM-60031191b7012fdfe8e1af6bd43ff9b36b0c5825.tar.bz2
perl-URPM-60031191b7012fdfe8e1af6bd43ff9b36b0c5825.tar.xz
perl-URPM-60031191b7012fdfe8e1af6bd43ff9b36b0c5825.zip
first try of 4.2 compatible perl-URPM,
missing verify_signature, new version 0.83
Diffstat (limited to 'build_rpm')
-rwxr-xr-xbuild_rpm6
1 files changed, 5 insertions, 1 deletions
diff --git a/build_rpm b/build_rpm
index aa4c794..3fc6c05 100755
--- a/build_rpm
+++ b/build_rpm
@@ -17,4 +17,8 @@ make dist
cp -f perl-URPM.spec "$RPM/SPECS"
bzme URPM-$VERSION.tar.gz
mv -f URPM-$VERSION.tar.bz2 "$RPM/SOURCES"
-rpm -ba --clean --rmsource "$RPM/SPECS/perl-URPM.spec"
+if [ -x /usr/bin/rpmbuild ]; then
+ rpmbuild -ba --clean --rmsource "$RPM/SPECS/perl-URPM.spec"
+else
+ rpm -ba --clean --rmsource "$RPM/SPECS/perl-URPM.spec"
+fi