From 4b606fa26ba9560a41c3307a9249fd9451ace22d Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 9 Dec 2008 16:04:34 +0000 Subject: - adapt to librpm4.6 --- Makefile.PL | 4 ++-- NEWS | 1 + 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 -- cgit v1.2.1