Fixed OSLO_PACKAGE_VERSION
This commit is contained in:
2
debian/rules
vendored
2
debian/rules
vendored
@@ -5,7 +5,7 @@ PYTHONS:=$(shell pyversions -vr)
|
||||
UPSTREAM_GIT = git://github.com/openstack/trove.git
|
||||
|
||||
include /usr/share/openstack-pkg-tools/pkgos.make
|
||||
export OSLO_PACKAGE_VERSION=$(VERSION)
|
||||
export OSLO_PACKAGE_VERSION=$(shell dpkg-parsechangelog | grep Version: | cut -d' ' -f2 | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//' -e 's/~/.0/' | head -n 1)
|
||||
|
||||
%:
|
||||
dh $@ --buildsystem=python_distutils --with python2,sphinxdoc,systemd
|
||||
|
||||
Reference in New Issue
Block a user