]> review.fuel-infra Code Review - openstack-build/horizon-build.git/commitdiff
Fixed export OSLO_PACKAGE_VERSION=$(shell dpkg-parsechangelog -S Version | sed -e...
authorThomas Goirand <thomas@goirand.fr>
Tue, 4 Aug 2015 09:22:53 +0000 (09:22 +0000)
committerThomas Goirand <thomas@goirand.fr>
Tue, 4 Aug 2015 09:22:53 +0000 (09:22 +0000)
Rewritten-From: 29ec1e2af95ff69974448b7e5082c0c15448249d

trusty/debian/rules

index d62af1154db90bac214221065b77713759ffddfc..277bc99ab753e373e96952b44b3eff4ebb628b6f 100755 (executable)
@@ -3,7 +3,7 @@
 PYTHONS:=$(shell pyversions -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 $@ --with python2