[Python-modules-commits] r33505 - in packages/python-mock/trunk/debian (rules)
fladi at users.alioth.debian.org
fladi at users.alioth.debian.org
Tue Jul 28 15:30:22 UTC 2015
Date: Tuesday, July 28, 2015 @ 15:30:21
Author: fladi
Revision: 33505
Add OSLO_PACKAGE_VERSION in d/rules to allow pbr to run the tests.
Modified:
packages/python-mock/trunk/debian/rules
Modified: packages/python-mock/trunk/debian/rules
===================================================================
--- packages/python-mock/trunk/debian/rules 2015-07-28 11:27:47 UTC (rev 33504)
+++ packages/python-mock/trunk/debian/rules 2015-07-28 15:30:21 UTC (rev 33505)
@@ -3,6 +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 PYBUILD_NAME=mock
%:
More information about the Python-modules-commits
mailing list