[SCM] smokeqt packaging branch, master, updated. debian/4.7.0-1-7-gcf71998

Pino Toscano pino at alioth.debian.org
Fri Sep 23 23:00:01 UTC 2011


The following commit has been merged in the master branch:
commit 5cabe9b97f985e38659f78307e99afba139f6e73
Author: Pino Toscano <pino at debian.org>
Date:   Fri Sep 23 23:39:23 2011 +0200

    tighten the various libraries dependencies to the current version
---
 debian/changelog |    1 +
 debian/rules     |   13 +++++++++++++
 2 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c259975..1130603 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ smokeqt (4:4.7.1-1) UNRELEASED; urgency=low
 
   [ Pino Toscano ]
   * Generate libraries shlibs based on the current version.
+  * Tighten the various libraries dependencies to the current version.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Thu, 22 Sep 2011 22:06:18 -0500
 
diff --git a/debian/rules b/debian/rules
index 52ab20c..2600de6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,8 @@
 #! /usr/bin/make -f
 
+pkgs_lib := $(filter-out %-dev %-dbg,$(filter lib%,$(shell dh_listpackages)))
+current_version := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
+
 override_dh_install:
 	dh_install --list-missing
 
@@ -8,6 +11,16 @@ override_dh_strip:
 
 override_dh_makeshlibs:
 	dh_makeshlibs -V
+# Generate shlibs local files
+	for pkg in $(pkgs_lib); do \
+		if test -e debian/$${pkg}/DEBIAN/shlibs ; then \
+			sed 's/>=[^)]*/= $(current_version)/' debian/$${pkg}/DEBIAN/shlibs >> debian/shlibs.local ;\
+		fi \
+	done
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -f debian/shlibs.local
 
 #Build-Depend on debhelper (>= 7.4.10) for --parallel
 #Build-Depend on pkg-kde-tools (>= 0.6.8) for the sodeps addon

-- 
smokeqt packaging



More information about the pkg-kde-commits mailing list