This is an automated email from the git hooks/post-receive script.

misterc-guest pushed a commit to branch master
in repository python-schema-salad.

commit 0c6594584798c32a469479a43b661614d4f33b34
Author: Michael R. Crusoe <michael.cru...@gmail.com>
Date:   Wed Jul 5 01:50:23 2017 -0700

    bump version
---
 debian/changelog | 4 ++--
 debian/rules     | 5 ++---
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index dc83f3b..3c9a133 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
-python-schema-salad (2.2.20170119151016-1) unstable; urgency=medium
+python-schema-salad (2.6.20170630075932-1) unstable; urgency=medium
 
-  * New upstream version 2.2.20170119151016
+  * New upstream version 2.6.20170630075932
 
  -- Michael R. Crusoe <michael.cru...@gmail.com>  Wed, 25 Jan 2017 23:46:56 
-0800
 
diff --git a/debian/rules b/debian/rules
index 031cfdc..b0e03b3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,8 +2,7 @@
 
 DH_VERBOSE := 1
 
-DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
-VERSION        := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 
's/-.*//')
+include /usr/share/dpkg/pkg-info.mk
 
 export PYBUILD_NAME=schema-salad
 export PYBUILD_DISABLE=test
@@ -14,7 +13,7 @@ export PYBUILD_DISABLE=test
 override_dh_auto_build:
        dh_auto_build
        PYTHONPATH=. help2man --no-info \
-                  --version-string=${VERSION} \
+                  --version-string=${DEB_VERSION_UPSTREAM} \
                   --no-discard-stderr \
                --name="Schema Annotations for Linked Avro Data (SALAD)" \
                python2\ -m\ schema_salad > debian/schema-salad-tool.1

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/debian-med/python-schema-salad.git

_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to