From 4c3f07c2baa1dc45b61b2af69085c8e9f1674613 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Fri, 17 Jul 2015 15:50:56 +0200 Subject: [PATCH] Fixed OSLO_PACKAGE_VERSION for last PBR version. --- debian/changelog | 1 + debian/rules | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 9bd204199..c6ec1f15d 100644 --- a/debian/changelog +++ b/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/debian/rules b/debian/rules index 733c176f3..bc51b8471 100755 --- a/debian/rules +++ b/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 -- 2.45.2