diff options
author | tv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c> | 2014-09-13 23:18:35 +0000 |
---|---|---|
committer | tv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c> | 2014-09-13 23:18:35 +0000 |
commit | 1a4835220f31de4ca9a3300f5e6f6a98bad318fc (patch) | |
tree | 810890afc8ef228bbe92169cb8e20bc53ffc87f4 | |
parent | cdad7452b3c66458d5d5745535df053eb9acc5fd (diff) | |
download | perl-RPM4-1a4835220f31de4ca9a3300f5e6f6a98bad318fc.tar perl-RPM4-1a4835220f31de4ca9a3300f5e6f6a98bad318fc.tar.gz perl-RPM4-1a4835220f31de4ca9a3300f5e6f6a98bad318fc.tar.bz2 perl-RPM4-1a4835220f31de4ca9a3300f5e6f6a98bad318fc.tar.xz perl-RPM4-1a4835220f31de4ca9a3300f5e6f6a98bad318fc.zip |
fix build with RCs of rpm
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@252 971eb68f-4bfb-0310-8326-d2484c010a4c
-rw-r--r-- | RPM4/Makefile.PL | 2 | ||||
-rw-r--r-- | RPM4/NEWS | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/RPM4/Makefile.PL b/RPM4/Makefile.PL index c6bd6e6..7e7b34a 100644 --- a/RPM4/Makefile.PL +++ b/RPM4/Makefile.PL @@ -5,7 +5,7 @@ use ExtUtils::MakeMaker; use Getopt::Long; #- require at least rpm 4.8 -my $rpm_version = `LC_ALL=C rpm --version` =~ /version ([0-9.]+)(?:-beta.*)?$/ ? version->new("v$1") : (); +my $rpm_version = `LC_ALL=C rpm --version` =~ /version ([0-9.]+)(?:-(?:beta|rc).*)?$/ ? version->new("v$1") : (); $rpm_version ge 4.8.0 or die <<BARF; Unable to build RPM4 with too old (or undetected) rpm version $rpm_version @@ -1,3 +1,5 @@ +- fix build with RCs of rpm + Version 0.33 - 29 May 2013 - fix build (fix detecting stable rpm) |