aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.PL')
-rw-r--r--Makefile.PL6
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';
}