[libzmq-ffi-perl] 01/01: add ugly hack to get a dependency on libzmqN

gregor herrmann gregoa at debian.org
Mon Jun 27 19:59:55 UTC 2016


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libzmq-ffi-perl.

commit cfe2b0d637c96ed126780e89a7049406673e0b83
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Jun 27 21:59:09 2016 +0200

    add ugly hack to get a dependency on libzmqN
    
    this should be fixed before an upload
    
    Gbp-Dch: Ignore
---
 debian/control | 2 +-
 debian/rules   | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 60ef2d7..c3e4d71 100644
--- a/debian/control
+++ b/debian/control
@@ -29,7 +29,7 @@ Testsuite: autopkgtest-pkg-perl
 
 Package: libzmq-ffi-perl
 Architecture: all
-Depends: ${misc:Depends}, ${perl:Depends},
+Depends: ${misc:Depends}, ${perl:Depends}, ${zmq:Depends},
  libclass-xsaccessor-perl (>= 1.18),
  libffi-platypus-perl,
  libimport-into-perl,
diff --git a/debian/rules b/debian/rules
index 8754068..95d4135 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@
 PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 
+# this is UGLY. how do we get to libzmq5 otherwise?
+ZMQBINPKG = $(shell dpkg -l | grep -v \\-dev | egrep -o '(libzmq[0-9])')
+
 %:
 	dh $@
 
@@ -21,3 +24,6 @@ override_dh_auto_install:
 	; do \
 		$(RM) -v $(TMP)/usr/share/man/man3/ZMQ::FFI::$$M.3pm ; \
 	done
+
+override_dh_gencontrol:
+	dh_gencontrol -- -V'zmq:Depends=$(ZMQBINPKG)'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libzmq-ffi-perl.git



More information about the Pkg-perl-cvs-commits mailing list