[apophenia] 01/01: Harden clean machinery

Jerome Benoit calculus-guest at moszumanska.debian.org
Thu Sep 11 11:32:48 UTC 2014


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

calculus-guest pushed a commit to branch master
in repository apophenia.

commit 4be72e181d4179e87a65ebb43d91fc549f0f1464
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Thu Sep 11 11:50:04 2014 +0200

    Harden clean machinery
---
 debian/changelog | 3 ++-
 debian/control   | 2 +-
 debian/rules     | 6 ++++++
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 298be8e..9facf9e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ apophenia (0.999b+ds-1) unstable; urgency=medium
     - debian/rules:
       - autoreconf-iguration;
       - full and minal dh integration;
+      - hardened dh_auto_clean;
       - get-orig-source uscan based target which downloads the currently
         packaged upstream tarball and repacks it;
       - default target which basically queries package status with uscan
@@ -26,4 +27,4 @@ apophenia (0.999b+ds-1) unstable; urgency=medium
     discussed; thanks to the upstream maintainer.
   * Wipe out library exit calls (shlib-calls-exit Lintian tag).
 
- -- Jerome Benoit <calculus at rezozer.net>  Mon, 08 Sep 2014 22:38:25 +0000
+ -- Jerome Benoit <calculus at rezozer.net>  Thu, 11 Sep 2014 09:24:11 +0000
diff --git a/debian/control b/debian/control
index 8bb7a5d..37ee42c 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: extra
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Jerome Benoit <calculus at rezozer.net>
 Build-Depends:
- debhelper (>= 9),
+ debhelper (>= 9), quilt,
  autotools-dev, autoconf-archive, dh-autoreconf, libtool,
  pkg-config, help2man,
  zlib1g-dev, libmysqlclient-dev, libsqlite3-dev, libgsl0-dev,
diff --git a/debian/rules b/debian/rules
index 131a82e..7383412 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,5 +12,11 @@ override_dh_auto_configure:
 override_dh_strip:
 	dh_strip --dbg-package=libapophenia0-dbg
 
+override_dh_auto_clean:
+	QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? -le 2
+	QUILT_PATCHES=debian/patches quilt push -a
+	dh_auto_clean
+	QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
+
 get-orig-source:
 	uscan --no-conf --download-current-version --verbose

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



More information about the debian-science-commits mailing list