aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2010-02-24 11:01:47 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2010-02-24 11:01:47 +0000
commitcc9bb010925a484ed9b9f12b7fda2a592eb5131a (patch)
treee1940f1bf2c55129788c7b28a07d6fd9df6dcc58
parent8c4c9abb33c01c71834e6614b6dd16c23f53f069 (diff)
downloadperl-URPM-cc9bb010925a484ed9b9f12b7fda2a592eb5131a.tar
perl-URPM-cc9bb010925a484ed9b9f12b7fda2a592eb5131a.tar.gz
perl-URPM-cc9bb010925a484ed9b9f12b7fda2a592eb5131a.tar.bz2
perl-URPM-cc9bb010925a484ed9b9f12b7fda2a592eb5131a.tar.xz
perl-URPM-cc9bb010925a484ed9b9f12b7fda2a592eb5131a.zip
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
-rw-r--r--Makefile.PL2
1 files changed, 1 insertions, 1 deletions
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';