diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-13 16:51:25 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-13 16:51:25 +0000 |
commit | 0cb9e616147227605d500f489650810e645fc74e (patch) | |
tree | afb90b9f08445d707f51953997186d3fb7ecdf42 /Makefile.PL | |
parent | 379dcf31a7c22de3e9788305cfd3ad48c8ccc4ee (diff) | |
download | perl-URPM-0cb9e616147227605d500f489650810e645fc74e.tar perl-URPM-0cb9e616147227605d500f489650810e645fc74e.tar.gz perl-URPM-0cb9e616147227605d500f489650810e645fc74e.tar.bz2 perl-URPM-0cb9e616147227605d500f489650810e645fc74e.tar.xz perl-URPM-0cb9e616147227605d500f489650810e645fc74e.zip |
Get version comparison right
Diffstat (limited to 'Makefile.PL')
-rw-r--r-- | Makefile.PL | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL index e321882..de6e71d 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -47,7 +47,7 @@ rpm: rpmdist } my $ccflags = '-Wall -fno-strict-aliasing'; -if ($version =~ /^4\.(?:[5-9]\.|\d\d)/) { +if ($version =~ /^4\.(4\.[5-9]$|4\.\d\d|[5-9]\.|\d\d)/) { $ccflags .= ' -DRPM_CALLBACK_LONGLONG'; } |