[libpar-packer-perl] 01/02: Add perlapi-* to Depends (cf. #750017).
gregor herrmann
gregoa at debian.org
Thu Jun 5 17:56:08 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libpar-packer-perl.
commit acb224421d5d94fe27766e7b84ad73850fea2a02
Author: gregor herrmann <gregoa at debian.org>
Date: Thu Jun 5 19:51:18 2014 +0200
Add perlapi-* to Depends (cf. #750017).
---
debian/control | 1 +
debian/rules | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index b331a8d..998eb88 100644
--- a/debian/control
+++ b/debian/control
@@ -27,6 +27,7 @@ Depends: ${misc:Depends},
${perl:Depends},
${shlibs:Depends},
${sameperl:Depends},
+ ${perlapi:Depends},
libarchive-zip-perl,
libgetopt-argvfile-perl,
libmodule-scandeps-perl (>= 1.09),
diff --git a/debian/rules b/debian/rules
index 5f13e06..12a83bc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,7 @@ TMP = $(CURDIR)/debian/$(PACKAGE)
PERL_CURRENT := $(shell perl -MConfig -e 'print "$$Config{revision}.$$Config{patchlevel}.$$Config{subversion}"')
PERL_NEXT := $(shell perl -MConfig -e 'print "$$Config{revision}.$$Config{patchlevel}." . ($$Config{subversion} + 1)')
ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
+PERLAPI := $(shell perl -MConfig -e 'print ($$Config{debian_abi} || $$Config{version})')
%:
dh $@
@@ -42,4 +43,4 @@ override_dh_auto_install:
$(RM) -v $(TMP)/usr/share/man/man1/tkpp.1p
override_dh_gencontrol:
- dh_gencontrol -- -V'sameperl:Depends=perl (>= $(PERL_CURRENT)~), perl (<< $(PERL_NEXT)~)'
+ dh_gencontrol -- -V'sameperl:Depends=perl (>= $(PERL_CURRENT)~), perl (<< $(PERL_NEXT)~)' -V'perlapi:Depends=perlapi-$(PERLAPI)'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libpar-packer-perl.git
More information about the Pkg-perl-cvs-commits
mailing list