From 60031191b7012fdfe8e1af6bd43ff9b36b0c5825 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 29 Apr 2003 17:16:45 +0000 Subject: first try of 4.2 compatible perl-URPM, missing verify_signature, new version 0.83 --- build_rpm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'build_rpm') 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 -- cgit v1.2.1