diff options
Diffstat (limited to 'Makefile.PL')
-rw-r--r-- | Makefile.PL | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Makefile.PL b/Makefile.PL index 0308b27..7c44699 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("5.0") 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/"; @@ -51,11 +51,6 @@ ChangeLog: my @rpmflags; my $ldflags = `pkg-config --libs rpm`; -if ($hversion ge hexversion("4.4.90") && $hversion lt hexversion("5.0")) { - # rpm.org version - push @rpmflags, "-DRPM_ORG"; - $ldflags .= ' -lrpmbuild'; -} my $ccflags = join(' ', '-Wall -Wextra -fno-strict-aliasing', @rpmflags); print "Found RPM version $version (compiling with flags: $ccflags)\n"; |