summaryrefslogtreecommitdiffstats
path: root/RPM4/Makefile.PL
diff options
context:
space:
mode:
authortv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2014-09-13 23:18:35 +0000
committertv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2014-09-13 23:18:35 +0000
commit1a4835220f31de4ca9a3300f5e6f6a98bad318fc (patch)
tree810890afc8ef228bbe92169cb8e20bc53ffc87f4 /RPM4/Makefile.PL
parentcdad7452b3c66458d5d5745535df053eb9acc5fd (diff)
downloadperl-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
Diffstat (limited to 'RPM4/Makefile.PL')
-rw-r--r--RPM4/Makefile.PL2
1 files changed, 1 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