aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.PL
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2007-03-01 17:45:46 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2007-03-01 17:45:46 +0000
commitbba907e94cfc249dff46b6863ecdee7be87b945e (patch)
treede0f40729ad232a923f2e76f222b8b39b95260bf /Makefile.PL
parent2c9da11b3c102548fac5c547cad4537fbadb29ec (diff)
downloadperl-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.PL2
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';
}