Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock zutils/1.3-4

Changes since 1.3-2 (jessie) are:

  * Using libc0.1-dev for Built-Using on kfreebsd (Closes: #769563).
  * Adding Built-Using field (Closes: #769344).

Regards,
Daniel

-- 
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          daniel.baum...@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/

diff --git a/debian/changelog b/debian/changelog
index 0b2deea..5edea6f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+zutils (1.3-4) unstable; urgency=low
+
+  * Using libc0.1-dev for Built-Using on kfreebsd (Closes: #769563).
+
+ -- Daniel Baumann <m...@daniel-baumann.ch>  Sat, 15 Nov 2014 07:27:58 +0100
+
+zutils (1.3-3) unstable; urgency=low
+
+  * Adding Built-Using field (Closes: #769344).
+
+ -- Daniel Baumann <m...@daniel-baumann.ch>  Thu, 13 Nov 2014 07:42:55 +0100
+
 zutils (1.3-2) unstable; urgency=low
 
   * Updating to standards version 3.9.6.
diff --git a/debian/control b/debian/control
index 3c338bb..05ca9e9 100644
--- a/debian/control
+++ b/debian/control
@@ -25,6 +25,8 @@ Enhances:
  gzip,
  lzip,
  xz-utils,
+Built-Using:
+ ${built-using},
 Description: utilities for dealing with compressed files transparently
  Zutils is a collection of utilities for dealing with any combination of
  compressed and non-compressed files transparently. Currently the supported
diff --git a/debian/rules b/debian/rules
index 0f2d166..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
 
@@ -15,5 +17,12 @@ override_dh_auto_install:
 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

Reply via email to