From cc9bb010925a484ed9b9f12b7fda2a592eb5131a Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Wed, 24 Feb 2010 11:01:47 +0000 Subject: adjust rpm.org/rpm5.org detection code It used to assume that rpm.org had version numbers < 4.7, but it's no longer true with rpm 4.8 being released. Test against 5.0 since rpm5.org releases started at 5.0 --- Makefile.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.PL b/Makefile.PL index a35ba66..0308b27 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -51,7 +51,7 @@ ChangeLog: my @rpmflags; my $ldflags = `pkg-config --libs rpm`; -if ($hversion ge hexversion("4.4.90") && $hversion lt hexversion("4.7")) { +if ($hversion ge hexversion("4.4.90") && $hversion lt hexversion("5.0")) { # rpm.org version push @rpmflags, "-DRPM_ORG"; $ldflags .= ' -lrpmbuild'; -- cgit v1.2.1