From: Thomas Goirand Date: Fri, 17 Jul 2015 13:50:56 +0000 (+0200) Subject: Fixed OSLO_PACKAGE_VERSION for last PBR version. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=27f4293e9f5719ca3efea3abc8566c05a160e56d;p=openstack-build%2Fcinder-build.git Fixed OSLO_PACKAGE_VERSION for last PBR version. Rewritten-From: 4c3f07c2baa1dc45b61b2af69085c8e9f1674613 --- diff --git a/trusty/debian/changelog b/trusty/debian/changelog index 9bd204199..c6ec1f15d 100644 --- a/trusty/debian/changelog +++ b/trusty/debian/changelog @@ -2,6 +2,7 @@ cinder (1:7.0.0~b1-1) experimental; urgency=medium * New upstream release. * Updated (build-)depends for this release. + * Fixed OSLO_PACKAGE_VERSION for last PBR version. -- Thomas Goirand Fri, 10 Jul 2015 09:41:59 +0200 diff --git a/trusty/debian/rules b/trusty/debian/rules index 733c176f3..bc51b8471 100755 --- a/trusty/debian/rules +++ b/trusty/debian/rules @@ -2,7 +2,7 @@ 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,systemd