[Python-modules-commits] [python-mock] 01/07: debian/rules: using dpkg-parsechangelog -SVersion and not -S Version, as Trusty wouldn't accept the space

Ondřej Nový onovy-guest at moszumanska.debian.org
Tue Jun 7 08:15:25 UTC 2016


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

onovy-guest pushed a commit to branch master
in repository python-mock.

commit f9ae40dc4c718d94a94854e32ce8dec7305bf81f
Author: Ondřej Nový <novy at ondrej.org>
Date:   Tue Jun 7 09:53:59 2016 +0200

    debian/rules: using dpkg-parsechangelog -SVersion and not -S Version, as Trusty wouldn't accept the space
    
    Author: Thomas Goirand <zigo at debian.org>
---
 debian/changelog | 5 +++++
 debian/rules     | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 144eabf..69210d9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,11 @@ python-mock (1.3.0-3) UNRELEASED; urgency=medium
 
   * Fixed VCS URL (https)
 
+  [ Thomas Goirand ]
+  * debian/rules
+    - using dpkg-parsechangelog -SVersion and not -S Version, as Trusty
+      wouldn't accept the space
+
  -- Ondřej Nový <novy at ondrej.org>  Tue, 29 Mar 2016 22:11:11 +0200
 
 python-mock (1.3.0-2.1) unstable; urgency=medium
diff --git a/debian/rules b/debian/rules
index b00db1d..7d38f07 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-export OSLO_PACKAGE_VERSION=$(shell dpkg-parsechangelog -S Version | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//' -e 's/~/.0/')
+export OSLO_PACKAGE_VERSION=$(shell dpkg-parsechangelog -SVersion | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//' -e 's/~/.0/')
 export PYBUILD_NAME=mock
 
 %:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-mock.git



More information about the Python-modules-commits mailing list