[netcdf] 02/03: Strip RPATH after dh_auto_install, RPATH required for tests.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun Oct 25 13:09:03 UTC 2015


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

sebastic pushed a commit to branch master
in repository netcdf.

commit fdf0ab6cd052e8b2fe4fbe191ecd8a088420a0f9
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Oct 25 10:46:19 2015 +0100

    Strip RPATH after dh_auto_install, RPATH required for tests.
---
 debian/changelog | 1 +
 debian/control   | 1 +
 debian/rules     | 4 ++++
 3 files changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c34863a..8c6c977 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 netcdf (1:4.4.0~rc3-1~exp2) UNRELEASED; urgency=medium
 
   * Enable tests, but disable parallel execution.
+  * Strip RPATH after dh_auto_install, RPATH required for tests.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 25 Oct 2015 10:16:15 +0100
 
diff --git a/debian/control b/debian/control
index a407a51..f2dd1a9 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Section: science
 Priority: optional
 Build-Depends: debhelper (>= 9),
                cmake (>= 2.8.12),
+               chrpath,
                m4,
                doxygen,
                libjs-jquery,
diff --git a/debian/rules b/debian/rules
index 2d86399..ce6478c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,6 +32,10 @@ override_dh_auto_install:
 
 	$(RM) debian/tmp/usr/share/doc/netCDF/html/jquery.js
 
+	# Strip RPATH
+	-find $(CURDIR)/debian/tmp/usr/bin -type f -not -name nc-config -exec chrpath --delete {} \;
+	-find $(CURDIR)/debian/tmp/usr/lib -type f -name "*.so*" -exec chrpath --delete {} \;
+
 override_dh_install:
 	dh_install --list-missing
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/netcdf.git



More information about the Pkg-grass-devel mailing list