[odb-api] 10/19: Also chrpath libs
Alastair McKinstry
mckinstry at moszumanska.debian.org
Fri Sep 1 13:18:57 UTC 2017
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to branch debian/master
in repository odb-api.
commit 0f35036b65d28c925000823da17c68e9ef1626d9
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Thu Aug 31 11:40:20 2017 +0100
Also chrpath libs
---
debian/rules | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/debian/rules b/debian/rules
index 90abf1d..c3fa3e7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,12 @@
#!/usr/bin/make -f
-# export DH_VERBOSE=1
+export DH_VERBOSE=1
# The magic debhelper rule
%:
dh $@ --buildsystem=cmake --with=python3
-
-DESTDIR:=$(shell pwd)/debian/tmp
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-ARCH:=$(shell dpkg --print-architecture)
AUTOGENERATED:= libodb-api-0d.install libodb-api-dev.install libodb-api-dev.links
LIBDIR:=/usr/lib/${DEB_HOST_MULTIARCH}
@@ -27,16 +24,18 @@ override_dh_auto_clean:
rm -f $(patsubst %, debian/%, ${AUTOGENERATED})
dh_auto_clean
-override_dh_auto_test:
- @echo "Skipping tests; need to disable downloads"
- # dh_auto_test || @echo "Ignoring test failures"
-
-override_dh_auto_install:
- chrpath -d debian/tmp/usr/bin/odb2netcdf.x
- dh_install
-
override_dh_auto_configure:
for f in ${AUTOGENERATED} ; do \
sed -e 's%@ARCH@%${DEB_HOST_MULTIARCH}%g' < debian/$$f.in > debian/$$f ; \
done
dh_auto_configure -- ${CMAKE_CFLAGS}
+
+override_dh_auto_test:
+ @echo "Skipping tests; need to disable downloads"
+ # dh_auto_test || @echo "Ignoring test failures"
+
+override_dh_fixperms:
+ dh_fixperms
+ chrpath -d debian/libodb-api-bin/usr/bin/odb2netcdf.x
+ chrpath -d debian/libodb-api-0d/usr/lib/*/*.so.0d
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/odb-api.git
More information about the debian-science-commits
mailing list