diff options
author | tv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c> | 2012-12-18 01:35:32 +0000 |
---|---|---|
committer | tv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c> | 2012-12-18 01:35:32 +0000 |
commit | 999cda5fe1b43e29e509fabdb9fcd81bcfc6f26d (patch) | |
tree | 7d7ce1a9613f72b6090b8f12dbf9b6a986742416 /RPM4/Makefile.PL | |
parent | f3aae8c9c6398d75426dfce5f6d83ca16b1cb86f (diff) | |
download | perl-RPM4-999cda5fe1b43e29e509fabdb9fcd81bcfc6f26d.tar perl-RPM4-999cda5fe1b43e29e509fabdb9fcd81bcfc6f26d.tar.gz perl-RPM4-999cda5fe1b43e29e509fabdb9fcd81bcfc6f26d.tar.bz2 perl-RPM4-999cda5fe1b43e29e509fabdb9fcd81bcfc6f26d.tar.xz perl-RPM4-999cda5fe1b43e29e509fabdb9fcd81bcfc6f26d.zip |
fix build with stable rpm
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@245 971eb68f-4bfb-0310-8326-d2484c010a4c
Diffstat (limited to 'RPM4/Makefile.PL')
-rw-r--r-- | RPM4/Makefile.PL | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RPM4/Makefile.PL b/RPM4/Makefile.PL index 6cf0805..acb09bf 100644 --- a/RPM4/Makefile.PL +++ b/RPM4/Makefile.PL @@ -5,7 +5,7 @@ use ExtUtils::MakeMaker; use Getopt::Long; #- require at least rpm 4.2 -my $rpm_version = `rpm --version` =~ /version ([0-9.]+)(?:-beta.*)$/ ? version->new("v$1") : (); +my $rpm_version = `rpm --version` =~ /version ([0-9.]+)(?:-beta.*)?$/ ? 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 |