* Did some cleanups in debian/rules.
* Using oslo-config-generator to generate config files, as upstream moved to
use that as well.
+ * export OSLO_PACKAGE_VERSION now compatible with Trusty version of dpkg.
-- Thomas Goirand <zigo@debian.org> Fri, 04 Dec 2015 09:03:42 +0100
#!/usr/bin/make -f
include /usr/share/openstack-pkg-tools/pkgos.make
-export OSLO_PACKAGE_VERSION=$(shell dpkg-parsechangelog -S Version | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//' -e 's/~/.0/')
+export OSLO_PACKAGE_VERSION=$(shell dpkg-parsechangelog | grep Version: | cut -d' ' -f2 | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//' -e 's/~/.0/' | head -n 1)
PYTHONS:=$(shell pyversions -vr)