]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fixed export OSLO_PACKAGE_VERSION=$(shell dpkg-parsechangelog -S Version | sed -e...
authorThomas Goirand <thomas@goirand.fr>
Fri, 31 Jul 2015 21:43:25 +0000 (21:43 +0000)
committerThomas Goirand <thomas@goirand.fr>
Fri, 31 Jul 2015 21:47:03 +0000 (21:47 +0000)
debian/rules

index 38f9c69c3e2946a1a9cafb86f4cc7c61e9ffe27f..7f27d99b93744daf7154932ba3bafbf3ac72aaa1 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 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/')
 
 PYTHONS:=$(shell pyversions -vr)