[fplll] 01/02: Push to dh compat 10 and hence simplify packaging

Julien Puydt julien.puydt at laposte.net
Tue Oct 11 13:01:45 UTC 2016


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

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

commit 4240e9bc45ec04add9cb5b7edfe59d6459728907
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Tue Oct 11 14:37:42 2016 +0200

    Push to dh compat 10 and hence simplify packaging
---
 debian/changelog            |  6 ++++++
 debian/compat               |  2 +-
 debian/control              |  2 +-
 debian/libfplll-dev.install |  1 -
 debian/rules                | 23 +++--------------------
 5 files changed, 11 insertions(+), 23 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6d32600..7d5e314 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+fplll (5.0.2-2) UNRELEASED; urgency=medium
+
+  * Push dh compat to 10, and simplify the packaging accordingly.
+
+ -- Julien Puydt <julien.puydt at laposte.net>  Tue, 11 Oct 2016 14:33:57 +0200
+
 fplll (5.0.2-1) experimental; urgency=medium
 
   * New upstream release.
diff --git a/debian/compat b/debian/compat
index ec63514..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+10
diff --git a/debian/control b/debian/control
index 55688f9..2ce40ff 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.
 Uploaders: Tim Abbott <tabbott at mit.edu>,
            Julien Puydt <julien.puydt at laposte.net>
 Homepage: https://github.com/fplll/fplll/
-Build-Depends: debhelper (>= 9), dh-autoreconf (>= 4~), libmpfr-dev
+Build-Depends: debhelper (>= 10), libmpfr-dev
 Standards-Version: 3.9.8
 Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/fplll.git
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/fplll.git
diff --git a/debian/libfplll-dev.install b/debian/libfplll-dev.install
index c59e584..13f41c4 100644
--- a/debian/libfplll-dev.install
+++ b/debian/libfplll-dev.install
@@ -1,4 +1,3 @@
 /usr/include/*
 /usr/lib/*/*.so
-/usr/lib/*/*.a
 /usr/lib/*/pkgconfig/*.pc
diff --git a/debian/rules b/debian/rules
index 3c1167b..06b3343 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,31 +1,14 @@
 #!/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 DEB_CPPFLAGS_MAINT_APPEND= -D_LARGEFILE_SOURCE
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:
-	dh $@ --with autoreconf
-
-override_dh_autoreconf:
-#	mkdir -p m4
-	dh_autoreconf --as-needed
+	dh $@
 
 override_dh_auto_configure:
-	dh_auto_configure -- --enable-shared --enable-static CPPFLAGS="$(CPPFLAGS) -D_LARGEFILE_SOURCE"
-
-override_dh_clean:
-	rm -f src/foo
-	dh_clean
-
-override_dh_auto_install:
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
-	rm -f debian/tmp/usr/lib/*/*.la
-
-override_dh_install:
-	dh_install --fail-missing
+	dh_auto_configure -- --disable-static
 
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS

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



More information about the debian-science-commits mailing list