[SCM] Paraview packaging branch, master, updated. debian/3.14.1-6-2-g8feb118

Julien Cristau julien.cristau at logilab.fr
Thu Jul 12 15:21:09 UTC 2012


The following commit has been merged in the master branch:
commit 8feb1189a148fb5b0bce320d5cff285306b303d7
Author: Julien Cristau <julien.cristau at logilab.fr>
Date:   Thu Jul 12 12:08:56 2012 +0200

    Restrict shlibs to depend on the upstream version (closes: #680359)

diff --git a/debian/rules b/debian/rules
index e1c868e..a65cc34 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
 
 DESTDIR = $(CURDIR)/debian/tmp
 
+UPSTREAM_VERSION = $(shell dpkg-parsechangelog | awk '/^Version:/ { sub("-[^-]*$$", "", $$2); print $$2}')
+
 %:
 	dh $@ --with python2 --parallel
 
@@ -73,3 +75,6 @@ override_dh_auto_install:
 
 override_dh_install:
 	dh_install --list-missing
+
+override_dh_makeshlibs:
+	dh_makeshlibs -V'paraview (>= $(UPSTREAM_VERSION)), paraview (<< $(UPSTREAM_VERSION).)'

-- 
Paraview packaging



More information about the debian-science-commits mailing list