From c58dcd2a3741d7c5a4ea12e21e52675773605dd8 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. Rewritten-From: 4c3f07c2baa1dc45b61b2af69085c8e9f1674613 --- xenial/debian/changelog | 1 + xenial/debian/rules | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/xenial/debian/changelog b/xenial/debian/changelog index 9bd204199..c6ec1f15d 100644 --- a/xenial/debian/changelog +++ b/xenial/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/xenial/debian/rules b/xenial/debian/rules index 733c176f3..bc51b8471 100755 --- a/xenial/debian/rules +++ b/xenial/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