[eclib] 01/01: Cleaned d/rules following dh compat bump to 10 and enable all hardenings

Julien Puydt julien.puydt at laposte.net
Tue Nov 8 16:17:42 UTC 2016


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

jpuydt-guest pushed a commit to branch master
in repository eclib.

commit 2c0883f1a4301d60729ed1c12df4c9d97c66252a
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Tue Nov 8 16:27:02 2016 +0100

    Cleaned d/rules following dh compat bump to 10 and enable all hardenings
---
 debian/changelog |  1 +
 debian/rules     | 11 ++---------
 2 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index cedaa68..c9d17a6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 eclib (20160720-3) experimental; urgency=medium
 
   * Wrote a better patch for the numerical noise on ARMEL.
+  * Cleaned d/rules to follow the dh compat bump and enable all hardenings.
 
  -- Julien Puydt <julien.puydt at laposte.net>  Sun, 06 Nov 2016 11:30:52 +0100
 
diff --git a/debian/rules b/debian/rules
index 614936b..b3c4984 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,9 @@
 #!/usr/bin/make -f
 
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
-
-export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
-export ACLOCAL_M4=.
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:
-	dh $@ --with autoreconf
+	dh $@
 
 override_dh_auto_configure:
 	dh_auto_configure -- --with-boost=no --with-ntl --disable-allprogs --enable-shared --disable-static CPPFLAGS="$(CPPFLAGS) -D_LARGEFILE_SOURCE"
@@ -17,8 +13,5 @@ override_dh_auto_install:
 	rm -f debian/tmp/usr/lib/*/*.la
 	rm -fr debian/tmp/usr/share/doc
 
-override_dh_install:
-	dh_install --fail-missing
-
 override_dh_installchangelogs:
 	dh_installchangelogs -XChangeLog

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



More information about the debian-science-commits mailing list