[SCM] discover packaging branch, kubuntu_wily_backports, updated. 5bf95571272489e97e4e4315d821f23ba2353621

Philip Muškovac yofel-guest at moszumanska.debian.org
Sat Jan 9 13:43:34 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/plasma/discover.git;a=commitdiff;h=c2ed635

The following commit has been merged in the kubuntu_wily_backports branch:
commit c2ed63585756ddc5e47067c74da6ba8f0ef6eca5
Author: Philip Muškovac <yofel at gmx.net>
Date:   Sat Jan 9 12:39:05 2016 +0100

    Manually add epochs to binary packages for upgrades
---
 debian/changelog | 4 ++++
 debian/rules     | 9 +++++++++
 2 files changed, 13 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 82f1691..9887ebf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,4 +7,8 @@ plasma-discover (5.5.3-0ubuntu1) UNRELEASED; urgency=medium
   * New upstream release
   * New upstream release
 
+  [ Philip Muškovac ]
+  * Manually add the 4 epoch to the old binary packages. They will be renamed
+    in the next release
+
  -- Clive Johnston <clivejo at aol.com>  Thu, 07 Jan 2016 17:58:43 +0000
diff --git a/debian/rules b/debian/rules
index 57dc903..c69b32d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,9 +4,18 @@ include /usr/share/pkg-kde-tools/qt-kde-team/3/debian-qt-kde.mk
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
+DEB_VERSION_UPSTREAM_REVISION := $(shell dpkg-parsechangelog | awk '/^Version: / { print $$2 }' | sed -e 's/^[0-9]*://')
+
 override_dh_strip:
 	$(overridden_command) --dbg-package=muon-discover-dbg
 
+override_dh_gencontrol:
+	dh_gencontrol -pmuon-discover -- -4:$(DEB_VERSION_UPSTREAM_REVISION)
+	dh_gencontrol -pmuon-updater -- -4:$(DEB_VERSION_UPSTREAM_REVISION)
+	dh_gencontrol -pmuon-notifier -- -4:$(DEB_VERSION_UPSTREAM_REVISION)
+	dh_gencontrol -pmuon-common -- -4:$(DEB_VERSION_UPSTREAM_REVISION)
+	dh_gencontrol --remaining-packages
+
 # Do not pull plugins into the shlibs file, it makes lintian angry.
 # This happens because dh_makeshlibs will look for sonames matching
 # (.*)-(.*)\.so where it assumes  is the library name and  is the version.

-- 
discover packaging



More information about the pkg-kde-commits mailing list