[Pkg-virtualbox-commits] [virtualbox-ext-pack] 04/04: Go for ext pack automatic version
Gianfranco Costamagna
locutusofborg at moszumanska.debian.org
Wed Jan 18 07:05:29 UTC 2017
This is an automated email from the git hooks/post-receive script.
locutusofborg pushed a commit to branch master
in repository virtualbox-ext-pack.
commit d76e9a9999b05174bb55f40e723b3399c1cbf856
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date: Wed Jan 18 08:00:41 2017 +0100
Go for ext pack automatic version
---
debian/changelog | 6 ++++++
debian/control | 2 +-
debian/rules | 5 +++--
3 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 7a6ba7d..8868e83 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+virtualbox-ext-pack (5.1.14-2) unstable; urgency=medium
+
+ * Use ext-pack changelog to compute virtualbox version
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org> Wed, 18 Jan 2017 07:59:53 +0100
+
virtualbox-ext-pack (5.1.14-1) unstable; urgency=medium
* New upstream release, update postinst/rules.
diff --git a/debian/control b/debian/control
index e146d8c..1f8e4cc 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: extra
Maintainer: Debian Virtualbox Team <pkg-virtualbox-devel at lists.alioth.debian.org>
Uploaders: Unit 193 <unit193 at ubuntu.com>,
Gianfranco Costamagna <locutusofborg at debian.org>
-Build-Depends: debhelper (>= 9), po-debconf, virtualbox
+Build-Depends: debhelper (>= 9), po-debconf
Standards-Version: 3.9.8
Homepage: https://www.virtualbox.org
Vcs-Git: https://anonscm.debian.org/git/pkg-virtualbox/virtualbox-ext-pack.git
diff --git a/debian/rules b/debian/rules
index fec5340..f6b2cc1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,11 +8,12 @@ override_dh_clean:
debconf-updatepo
dh_clean
-VIRTUALBOX_VERSION=$(shell dpkg-query --show --showformat='$${version}' virtualbox | cut -f1 -d "-")
+EXT_PACK_VERSION=$(shell dpkg-parsechangelog -Sversion | cut -d - -f 1)
+#VIRTUALBOX_VERSION=$(shell dpkg-query --show --showformat='$${version}' virtualbox | cut -f1 -d "-")
override_dh_gencontrol:
dh_gencontrol -- \
- -Vvirtualbox:Version=$(VIRTUALBOX_VERSION) -Vvirtualbox:nextVersion=$(VIRTUALBOX_VERSION)-dfsg-z
+ -Vvirtualbox:Version=$(EXT_PACK_VERSION)-dfsg-1 -Vvirtualbox:nextVersion=$(EXT_PACK_VERSION)-dfsg-z
tarball:
mkdir virtualbox-ext-pack_$(VERSION)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-virtualbox/virtualbox-ext-pack.git
More information about the Pkg-virtualbox-commits
mailing list