aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.PL
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 /Makefile.PL
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
Diffstat (limited to 'Makefile.PL')
-rw-r--r--Makefile.PL4
1 files changed, 2 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/*" },