[Python-modules-commits] [python-peak.util] 02/02: Use dpkg-parsechangelog -S Version instead of pipe to grep
Daniele Tricoli
eriol-guest at moszumanska.debian.org
Sun Feb 7 00:23:29 UTC 2016
This is an automated email from the git hooks/post-receive script.
eriol-guest pushed a commit to branch master
in repository python-peak.util.
commit f087e6659537e18c4ee7e97c578161b082941525
Author: Daniele Tricoli <eriol at mornie.org>
Date: Sun Feb 7 01:00:07 2016 +0100
Use dpkg-parsechangelog -S Version instead of pipe to grep
---
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 2006181..e5c9197 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
PKG = python-peak.util
-VERSION = $(shell dpkg-parsechangelog | grep ^Version | cut -d" " -f2 | sed 's,-.*,,')
+VERSION = $(shell dpkg-parsechangelog -S Version | sed 's,-.*,,')
GOS_TMP_DIR := $(shell mktemp -d $(PKG)-XXXXXXXXX)
UPSTREAMS = \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-peak.util.git
More information about the Python-modules-commits
mailing list