diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2007-03-01 17:45:46 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2007-03-01 17:45:46 +0000 |
commit | bba907e94cfc249dff46b6863ecdee7be87b945e (patch) | |
tree | de0f40729ad232a923f2e76f222b8b39b95260bf /Makefile.PL | |
parent | 2c9da11b3c102548fac5c547cad4537fbadb29ec (diff) | |
download | perl-URPM-bba907e94cfc249dff46b6863ecdee7be87b945e.tar perl-URPM-bba907e94cfc249dff46b6863ecdee7be87b945e.tar.gz perl-URPM-bba907e94cfc249dff46b6863ecdee7be87b945e.tar.bz2 perl-URPM-bba907e94cfc249dff46b6863ecdee7be87b945e.tar.xz perl-URPM-bba907e94cfc249dff46b6863ecdee7be87b945e.zip |
- fix rpm version check, grrrr
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 018dc32..5f406d2 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -47,7 +47,7 @@ my $ccflags = '-Wall -fno-strict-aliasing'; if ($version =~ /^4\.(4\.[5-9]$|4\.\d\d|[5-9]\.|\d\d)/) { $ccflags .= ' -DRPM_CALLBACK_LONGLONG'; } -if ($version eq '4.4.6') { +if ($version =~ /^4\.4/ && (split(/\./, $version))[2] >= 6) { $ccflags .= ' -DRPM_446'; } |