diff options
author | Francois Pons <fpons@mandriva.com> | 2002-06-06 09:57:52 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-06-06 09:57:52 +0000 |
commit | 507d79f646464f20a758ca8a41a3638c8ac4fc83 (patch) | |
tree | 1cbe2579e78736e64fee257cdabb3990b0889f1d /build_rpm | |
parent | 977a0031a904f6690d377d184a5461f639d49201 (diff) | |
download | perl-URPM-507d79f646464f20a758ca8a41a3638c8ac4fc83.tar perl-URPM-507d79f646464f20a758ca8a41a3638c8ac4fc83.tar.gz perl-URPM-507d79f646464f20a758ca8a41a3638c8ac4fc83.tar.bz2 perl-URPM-507d79f646464f20a758ca8a41a3638c8ac4fc83.tar.xz perl-URPM-507d79f646464f20a758ca8a41a3638c8ac4fc83.zip |
0.03-1mdk
Diffstat (limited to 'build_rpm')
-rwxr-xr-x | build_rpm | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4,6 +4,7 @@ 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" |