diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-08 04:40:05 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-08 04:40:05 +0000 |
commit | 168f04b9cec34039cca2afc2b2ae7394bc32fd8f (patch) | |
tree | 136d3bf73a953e3cf249cd8ce49f43ca4ad314a7 | |
parent | Adding debian version 1.3-3. (diff) | |
download | zutils-168f04b9cec34039cca2afc2b2ae7394bc32fd8f.tar.xz zutils-168f04b9cec34039cca2afc2b2ae7394bc32fd8f.zip |
Adding debian version 1.3-4.debian/1.3-4
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
-rw-r--r-- | debian/changelog | 6 | ||||
-rwxr-xr-x | debian/rules | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 11478ab..5edea6f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +zutils (1.3-4) unstable; urgency=low + + * Using libc0.1-dev for Built-Using on kfreebsd (Closes: #769563). + + -- Daniel Baumann <mail@daniel-baumann.ch> Sat, 15 Nov 2014 07:27:58 +0100 + zutils (1.3-3) unstable; urgency=low * Adding Built-Using field (Closes: #769344). diff --git a/debian/rules b/debian/rules index d7cb7c9..2ec5912 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,7 @@ #!/usr/bin/make -f +DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) + %: dh ${@} --parallel @@ -16,7 +18,11 @@ override_dh_builddeb: dh_builddeb -- -Zxz override_dh_gencontrol: +ifeq (kfreebsd,$(DEB_HOST_ARCH_OS)) + dh_gencontrol -- -Vbuilt-using="glibc (= $$(dpkg-query --show --showformat='$${source:Version}' libc0.1-dev))" +else dh_gencontrol -- -Vbuilt-using="glibc (= $$(dpkg-query --show --showformat='$${source:Version}' libc6-dev))" +endif override_dh_strip: dh_strip --dbg-package=zutils-dbg |