[Pkg-zsh-commits] [SCM] Debian zsh package branch, debian, updated. debian/5.0.2-2-51-gcb87cc1

Axel Beckert abe at deuxchevaux.org
Fri May 10 00:18:26 UTC 2013


The following commit has been merged in the debian branch:
commit cb87cc19c77f61873ccbbf2b8d37c5ea8a593432
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Fri May 10 00:38:31 2013 +0200

    Add Built-Using header to zsh-static
    
    Bump build-dependency on dpkg-dev to >= 1.16.2~

diff --git a/debian/control b/debian/control
index 3d68f47..f1f985c 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Build-Depends: bsdmainutils,
                debhelper (>= 9~),
                dh-autoreconf,
-               dpkg-dev (>= 1.16.1~),
+               dpkg-dev (>= 1.16.2~),
                ghostscript,
                groff,
                groff-base,
@@ -82,6 +82,7 @@ Package: zsh-static
 Architecture: any
 Depends: zsh, ${misc:Depends}
 Suggests: zsh-doc
+Built-Using: ${Built-Using}
 Description: shell with lots of features (static link)
  Zsh is a UNIX command interpreter (shell) usable as an
  interactive login shell and as a shell script command
diff --git a/debian/rules b/debian/rules
index 20e5e59..879934c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,6 +39,8 @@ CONFIGFLAGS += --enable-zsh-secure-free
 CONFIGFLAGS += --enable-zsh-hash-debug
 endif
 
+BUILT_USING=$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W libcap-dev libncursesw5-dev libpcre3-dev eglibc)
+
 build: build-arch build-indep
 
 build-arch: configure-stamp
@@ -202,7 +204,7 @@ binary-arch-static: build-static
 	dh_fixperms          -pzsh-static
 	dh_installdeb        -pzsh-static
 	dh_md5sums           -pzsh-static
-	dh_gencontrol        -pzsh-static
+	dh_gencontrol        -pzsh-static -- -VBuilt-Using="$(BUILT_USING)"
 	dh_builddeb          -pzsh-static -- -Zxz
 
 binary-arch-dev: build-arch

-- 
Debian zsh package



More information about the Pkg-zsh-commits mailing list