diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2008-03-19 03:24:35 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2008-03-19 03:24:35 +0000 |
commit | d5569bf724976ff44882069e5e1c939e8fbf2041 (patch) | |
tree | aa7c899d289916843d4712e77f31d6f6b2915408 | |
parent | 6edbac559ab83e220650fa9b5b1cc61f14ad7800 (diff) | |
download | perl-URPM-d5569bf724976ff44882069e5e1c939e8fbf2041.tar perl-URPM-d5569bf724976ff44882069e5e1c939e8fbf2041.tar.gz perl-URPM-d5569bf724976ff44882069e5e1c939e8fbf2041.tar.bz2 perl-URPM-d5569bf724976ff44882069e5e1c939e8fbf2041.tar.xz perl-URPM-d5569bf724976ff44882069e5e1c939e8fbf2041.zip |
d'oh, argument to hexversion() must of course be passed as strings
-rw-r--r-- | Makefile.PL | 5 |
1 files 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 { |