aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xMakefile.PL8
-rw-r--r--NEWS1
2 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 05a2b6a..90b00f3 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -27,13 +27,13 @@ $version =~ s/(-.*)|(\.DEVEL)//;
chomp $version;
$version =~ s/(RPM version )|(rpm \(RPM\) )//;
my $hversion = hexversion($version);
-$hversion ge hexversion("4.9") or die "Unable to build URPM with too old (or undetected) rpm version $version\n";
+$hversion ge hexversion("4.13") or die "Unable to build URPM with too old (or undetected) rpm version $version\n";
my @rpmflags;
my $ldflags = `pkg-config --libs rpm` . ' -lrpmbuild';
-if ($hversion ge hexversion("4.9.0") && $hversion lt hexversion("5.0")) {
- # rpm.org version 4.9.0
- push @rpmflags, "-DRPM490";
+if ($hversion ge hexversion("4.13.0") && $hversion lt hexversion("5.0")) {
+ # rpm.org version 4.13.0
+ push @rpmflags, "-DRPM4140";
}
my $ccflags = join(' ', '-Wall -Wextra -fno-strict-aliasing', @rpmflags);
diff --git a/NEWS b/NEWS
index 64253d4..24efd3d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- make clear URPM needs rpm >= 4.14
- revert fix for segfault with rpm-4.14 when checking invalid signatures as rpm
got fixed