From d5569bf724976ff44882069e5e1c939e8fbf2041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=98yvind=20Karlsen?= Date: Wed, 19 Mar 2008 03:24:35 +0000 Subject: d'oh, argument to hexversion() must of course be passed as strings --- Makefile.PL | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index de082ad..f7271d3 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -27,7 +27,7 @@ $version =~ s/(-.*)|(\.DEVEL)//; chomp $version; $version =~ s/(RPM version )|(rpm \(RPM\) )//; my $hversion = hexversion($version); -$hversion ge hexversion(4.2) or die "Unable to build URPM with too old (or undetected) rpm version $version\n"; +$hversion ge hexversion("4.2") or die "Unable to build URPM with too old (or undetected) rpm version $version\n"; # to generate the ChangeLog depending on the checkout layout my $commonusername = "../common/"; @@ -50,8 +50,7 @@ ChangeLog: } my @rpmflags; -#print $hversion; -if ($hversion ge hexversion(4.4.90) && $hversion lt hexversion(4.5)) { +if ($hversion ge hexversion("4.4.90") && $hversion lt hexversion("4.5")) { # rpm.org version push @rpmflags, "-DRPM_ORG"; } else { -- cgit v1.2.1