aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.PL4
-rw-r--r--NEWS1
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.PL b/Makefile.PL
index f7271d3..21823cb 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -50,7 +50,7 @@ ChangeLog:
}
my @rpmflags;
-if ($hversion ge hexversion("4.4.90") && $hversion lt hexversion("4.5")) {
+if ($hversion ge hexversion("4.4.90") && $hversion lt hexversion("4.7")) {
# rpm.org version
push @rpmflags, "-DRPM_ORG";
} else {
@@ -68,7 +68,7 @@ WriteMakefile(
},
CCFLAGS => $ccflags,
VERSION_FROM => 'URPM.pm',
- LIBS => [ '-lrpm -lrpmio -lrpmdb -lrpmbuild -lpopt -lz' ],
+ LIBS => [ '-lrpm -lrpmio -lrpmbuild' ],
INC => '-I/usr/include/rpm',
dist => { COMPRESS => "bzip2", SUFFIX => ".bz2" },
realclean => { FILES => "t/RPMS/noarch/*" },
diff --git a/NEWS b/NEWS
index aabd47b..b59fb37 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- drop list_rpm_tag()
+- adapt to librpm4.6
Version 3.20 - 14 October 2008, by Pascal "Pixel" Rigaux