[libanyevent-perl] 01/03: Add perlapi-* to Depends (cf. #750017).
gregor herrmann
gregoa at debian.org
Thu Jun 5 17:48:30 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libanyevent-perl.
commit 1d9097751c23472e6a7e38450cd16a8c458fd4a7
Author: gregor herrmann <gregoa at debian.org>
Date: Thu Jun 5 19:43:23 2014 +0200
Add perlapi-* to Depends (cf. #750017).
---
debian/control | 3 ++-
debian/rules | 5 +++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 83755de..5d0fbbb 100644
--- a/debian/control
+++ b/debian/control
@@ -31,7 +31,8 @@ Package: libanyevent-perl
# cf. #596257 and #708730
Architecture: any
Depends: ${misc:Depends},
- ${perl:Depends}
+ ${perl:Depends},
+ ${perlapi:Depends}
Recommends: libasync-interrupt-perl,
libev-perl | libevent-perl,
libguard-perl
diff --git a/debian/rules b/debian/rules
index 94de9b6..30a6a3a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
+PERLAPI := $(shell perl -MConfig -e 'print ($$Config{debian_abi} || $$Config{version})')
+
%:
# ensure we build only arch:any packages
# safeguard against converting the package again to arch:all
@@ -17,3 +19,6 @@ override_dh_installexamples:
sed -i '1s|^#!/opt/perl/bin/perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*
sed -i '1s|^#!/opt/bin/perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*
+override_dh_gencontrol:
+ dh_gencontrol -- -V'perlapi:Depends=perlapi-$(PERLAPI)'
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libanyevent-perl.git
More information about the Pkg-perl-cvs-commits
mailing list