aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.PL
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2007-06-19 14:44:21 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2007-06-19 14:44:21 +0000
commit92e441cb3795aa5b8555f999911017817a6d2277 (patch)
treef29b0b811a1c34dffad7cc1c02ad9aa70b057d2d /Makefile.PL
parentd56ee13624590129c49ed2424c1ee2814837e560 (diff)
downloadperl-URPM-92e441cb3795aa5b8555f999911017817a6d2277.tar
perl-URPM-92e441cb3795aa5b8555f999911017817a6d2277.tar.gz
perl-URPM-92e441cb3795aa5b8555f999911017817a6d2277.tar.bz2
perl-URPM-92e441cb3795aa5b8555f999911017817a6d2277.tar.xz
perl-URPM-92e441cb3795aa5b8555f999911017817a6d2277.zip
- make is_arch_compat rpm 4.4.8 compliant
Diffstat (limited to 'Makefile.PL')
-rw-r--r--Makefile.PL3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 5f406d2..50975b1 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -50,6 +50,9 @@ if ($version =~ /^4\.(4\.[5-9]$|4\.\d\d|[5-9]\.|\d\d)/) {
if ($version =~ /^4\.4/ && (split(/\./, $version))[2] >= 6) {
$ccflags .= ' -DRPM_446';
}
+if ($version =~ /^4\.4/ && (split(/\./, $version))[2] >= 8) {
+ $ccflags .= ' -DRPM_448';
+}
WriteMakefile(
NAME => 'URPM',