[xdmf] 32/38: Clear CVS dirs, remove rpaths

Alastair McKinstry mckinstry at moszumanska.debian.org
Thu Apr 13 15:16:37 UTC 2017


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

mckinstry pushed a commit to branch debian/master
in repository xdmf.

commit bb29a2e141ff3b9f16358865f40cea8688aad859
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Tue Nov 15 08:04:45 2016 +0000

    Clear CVS dirs, remove rpaths
---
 debian/control | 3 ++-
 debian/rules   | 5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 4ed00ca..a785626 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,8 @@ Build-Depends: debhelper (>= 10), cmake(>= 2.4.0),
   gfortran, swig, 
   bzip2, libbz2-dev,
   libgzstream-dev,
-  libmetis-dev
+  libmetis-dev,
+  chrpath
 Standards-Version: 3.9.8
 Homepage: http://www.xdmf.org/
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/xdmf.git
diff --git a/debian/rules b/debian/rules
index 010cb50..0aea707 100755
--- a/debian/rules
+++ b/debian/rules
@@ -69,6 +69,9 @@ override_dh_auto_test:
 	@echo "Ignore; no tests present"
 
 override_dh_auto_install:
+	# should not be necessary; USE_RPATH=OFF not working ?
+	for p in $(BUILD_DIRS) ; do \
+		find $$p -name '*.so' -exec chrpath -d {} \; ; done
 	# Assemble something workable from the 4 install dirs.
 	$(MAKE) -C debian/build-mpi-py3 install DESTDIR=$(TMPDIR)
 	# Add the (non-default) serial cases into a NoMpi subdirectory
@@ -94,7 +97,9 @@ override_dh_auto_install:
 	#sed -e 's%@ARCH@%$(DEB_HOST_MULTIARCH)%' < debian/cmake.patch.in > debian/cmake.patch
 	#(cd $(TMPDIR)/$(LIBDIR)/cmake/XdmfCMake && patch < ../../../../../../cmake.patch )
 
+
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -f debian/cmake.patch libsrc/gzstream
+	find debian/libxdmf-dev -name CVS -delete 
 	rm -rf $(BUILD_DIRS)

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



More information about the debian-science-commits mailing list