From fa804224ba318ab5778fbc27c30ead392e80ee1c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 10 Dec 2007 11:22:20 +0000 Subject: introduce some compatibility code with rpm.org --- Makefile.PL | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile.PL') 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'; } -- cgit v1.2.1