aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-03 08:38:17 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-03 08:38:17 +0000
commite37f51de50904c38e71b3b1636c47303dff3775b (patch)
tree05742cf777049549504438a5fd8ced5376ed8a09
parentaa3b43225568d22d001050ca2345fc30907fb1f0 (diff)
downloadperl-URPM-e37f51de50904c38e71b3b1636c47303dff3775b.tar
perl-URPM-e37f51de50904c38e71b3b1636c47303dff3775b.tar.gz
perl-URPM-e37f51de50904c38e71b3b1636c47303dff3775b.tar.bz2
perl-URPM-e37f51de50904c38e71b3b1636c47303dff3775b.tar.xz
perl-URPM-e37f51de50904c38e71b3b1636c47303dff3775b.zip
Remove obsolete script
-rwxr-xr-xbuild_rpm24
1 files changed, 0 insertions, 24 deletions
diff --git a/build_rpm b/build_rpm
deleted file mode 100755
index 3fc6c05..0000000
--- a/build_rpm
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-RPM=`rpm --eval '%{_topdir}'`
-[ -d "$RPM/SPECS" -a -d "$RPM/SOURCES" ] || exit 1
-
-VERSION=`perl -ne '/VERSION\s+=[^0-9\.]*([0-9\.]+)/ and print "$1\n"' URPM.pm`
-perl -pi -e 's/^%define\s+version\s+(\S+)/%define version '$VERSION'/' perl-URPM.spec
-
-echo "building URPM version $VERSION"
-
-rm -f "URPM-$VERSION.tar.gz"
-perl Makefile.PL
-make dist
-[ $? = 0 ] || exit 2
-[ -f "URPM-$VERSION.tar.gz" ] || exit 3
-
-cp -f perl-URPM.spec "$RPM/SPECS"
-bzme URPM-$VERSION.tar.gz
-mv -f URPM-$VERSION.tar.bz2 "$RPM/SOURCES"
-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