[emos] 34/37: Use rpath

Alastair McKinstry mckinstry at moszumanska.debian.org
Sat Jun 27 08:14:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch master
in repository emos.

commit 4670af63f91a7f54f95f3f3619698b8202f098e4
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Tue Jun 23 20:24:47 2015 +0100

    Use rpath
---
 debian/changelog | 6 ++++++
 debian/control   | 2 +-
 debian/rules     | 3 ++-
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index cf72f03..59e21aa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+emoslib (2:4.0.3+dfsg.1-2) UNRELEASED; urgency=medium
+
+  * Remove rpath from shlibs. B-D on chrpath. 
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Mon, 22 Jun 2015 06:33:00 +0100
+
 emoslib (2:4.0.3+dfsg.1-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index 56971fa..b244387 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: utils
 Priority: optional
 Maintainer: Alastair McKinstry <mckinstry at debian.org>
 Build-Depends: debhelper (>=9), gfortran, cmake, 
- libboost-dev (>= 1.47.0), 
+ libboost-dev (>= 1.47.0), chrpath,
  libgrib-api-dev (>= 1.9.16~), libgrib-api-tools,
  libjasper-dev, libopenjpeg-dev, libpng12-dev, zlib1g-dev
 Standards-Version: 3.9.6
diff --git a/debian/rules b/debian/rules
index e4a738c..78d123a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-export DH_VERBOSE=1
+# export DH_VERBOSE=1
 
 # The magic debhelper  rule
 %:
@@ -35,4 +35,5 @@ override_dh_auto_install:
 	mkdir -p ${SHLIB_DIR}
 	cp obj-*/lib/libemos.so		${SHLIB_DIR}/libemos.so.0d
 	cp obj-*/lib/libemosR64.so	${SHLIB_DIR}/libemosR64.so.0d
+	chrpath -d ${SHLIB_DIR}/libemos*.so.0d 
 	dh_auto_install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/emos.git



More information about the debian-science-commits mailing list