[Pkg-zsh-commits] [zsh] 03/03: Change the value of $ZSH_PATCHLEVEL.
Axel Beckert
abe at deuxchevaux.org
Thu Aug 10 20:58:39 UTC 2017
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch debian
in repository zsh.
commit e795f448b745ec049ba74a3656343a4b2ab179ab
Author: Daniel Shahaf <danielsh at apache.org>
Date: Wed Aug 9 19:08:58 2017 +0000
Change the value of $ZSH_PATCHLEVEL.
Before this patch the value was 'Debian'.
With this patch the value embeds the vendor name and package version
number: 'debian/5.3.1-5'.
Upstream's default is `git describe` output, e.g., '5.3.1-test-2-0-gd17f9d32f'.
---
debian/rules | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 77ac1e3..c4cd9c0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,7 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
+include /usr/share/dpkg/pkg-info.mk
H_LDFLAGS = $(LDFLAGS)
VENDOR=$(shell dpkg-vendor --query vendor | env LC_ALL=C tr A-Z a-z | env LC_ALL=C tr -d -c '[:alnum:]')
@@ -28,7 +29,7 @@ CONFIGFLAGS += --with-tcsetpgrp
CONFIGFLAGS += --with-term-lib="ncursesw tinfo"
CONFIGFLAGS += --enable-cap --enable-pcre
CONFIGFLAGS += --enable-readnullcmd=pager
-CONFIGFLAGS += --enable-custom-patchlevel=Debian
+CONFIGFLAGS += --enable-custom-patchlevel=$(VENDOR)/$(DEB_VERSION)
CONFIGFLAGS += --enable-additional-fpath=/usr/share/zsh/vendor-functions,/usr/share/zsh/vendor-completions
CONFIGFLAGS += --disable-ansi2knr
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/zsh.git
More information about the Pkg-zsh-commits
mailing list