diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-12-10 11:22:20 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-12-10 11:22:20 +0000 |
commit | fa804224ba318ab5778fbc27c30ead392e80ee1c (patch) | |
tree | e63cf45b94869ba4c92e48b8b49a5b8855254dec /Makefile.PL | |
parent | 68780f74d8adcf279f081a63f7df44067b311f08 (diff) | |
download | perl-URPM-fa804224ba318ab5778fbc27c30ead392e80ee1c.tar perl-URPM-fa804224ba318ab5778fbc27c30ead392e80ee1c.tar.gz perl-URPM-fa804224ba318ab5778fbc27c30ead392e80ee1c.tar.bz2 perl-URPM-fa804224ba318ab5778fbc27c30ead392e80ee1c.tar.xz perl-URPM-fa804224ba318ab5778fbc27c30ead392e80ee1c.zip |
introduce some compatibility code with rpm.org
Diffstat (limited to 'Makefile.PL')
-rw-r--r-- | Makefile.PL | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL index 63de6ec..d4813d5 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -43,7 +43,11 @@ ChangeLog: } my @rpmflags; -{ +if ($pversion ge v4.4.90 && $pversion lt v4.5) { + # rpm.org version + push @rpmflags, '-DRPM_ORG'; +} else { + # rpm5.org version if ($pversion ge v4.4.5) { push @rpmflags, '-DRPM_CALLBACK_LONGLONG'; } |