aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-12-09 16:04:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-12-09 16:04:34 +0000
commit4b606fa26ba9560a41c3307a9249fd9451ace22d (patch)
treed7534995e2a69b2ed09af7fa2a0b6812da0bf440
parent6ad258e0cad4741aad160dcb8a4b85f43fce60f1 (diff)
downloadperl-URPM-4b606fa26ba9560a41c3307a9249fd9451ace22d.tar
perl-URPM-4b606fa26ba9560a41c3307a9249fd9451ace22d.tar.gz
perl-URPM-4b606fa26ba9560a41c3307a9249fd9451ace22d.tar.bz2
perl-URPM-4b606fa26ba9560a41c3307a9249fd9451ace22d.tar.xz
perl-URPM-4b606fa26ba9560a41c3307a9249fd9451ace22d.zip
- adapt to librpm4.6
-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