]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Updated export OSLO_PACKAGE_VERSION=$(shell dpkg-parsechangelog -S Version | sed...
authorThomas Goirand <zigo@debian.org>
Sun, 2 Aug 2015 09:44:13 +0000 (11:44 +0200)
committerThomas Goirand <zigo@debian.org>
Sun, 2 Aug 2015 09:44:13 +0000 (11:44 +0200)
Rewritten-From: 465b1734296ed5ef35cbb58bb1c2aaeef688b1b1

xenial/debian/rules

index 3d1805645d913b64a052b78cb66c4fa8c753302f..79d054c4ddf22ba51d1241a2b619773722daaf74 100755 (executable)
@@ -4,7 +4,7 @@ PYTHONS:=$(shell pyversions -vr)
 #PYTHON3S:=$(shell py3versions -vr)
 
 include /usr/share/openstack-pkg-tools/pkgos.make
-export OSLO_PACKAGE_VERSION=$(VERSION)
+export OSLO_PACKAGE_VERSION=$(shell dpkg-parsechangelog -S Version | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//' -e 's/~/.0/')
 
 %:
        dh $@ --buildsystem=python_distutils --with python2,sphinxdoc,systemd