[debian-edu-commits] debian-edu/ 01/01: use dh_strip_nondeterminism to make the build deterministic

Holger Levsen holger at moszumanska.debian.org
Fri Oct 3 08:16:21 UTC 2014


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

holger pushed a commit to branch reproducible
in repository debian-edu-doc.

commit b1cf6ca3bc457e479885286a4965bc355f12f34b
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Oct 3 10:09:14 2014 +0200

    use dh_strip_nondeterminism to make the build deterministic
    
    This should probably not be merged into master and uploaded for a number of
    reasons:
    - strip-nondeterminism is only in unstable atm.
    - future versions of dh will call dh_strip_nondeterminism (and depend on
      it itself), so this package should rather be converted to use dh
      directly, which also has other benefits.
    
    So this merely serves as an simple example how to fix a package to use
    dh_strip_nondeterminism directly, if converting to dh is not desirable.
---
 debian/control | 3 ++-
 debian/rules   | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 941beb0..84eb629 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,8 @@ Build-Depends-Indep: docbook-utils, poxml, ldp-docbook-xsl, dblatex, po4a,
  texlive-lang-cyrillic, texlive-lang-danish,  texlive-lang-spanish,
  texlive-lang-french, texlive-lang-german, texlive-lang-italian,
  texlive-lang-norwegian, texlive-lang-dutch, imagemagick,
- dbtoepub
+ dbtoepub,
+ strip-nondeterminism
 Maintainer: Debian Edu Developers <debian-edu at lists.debian.org>
 Uploaders: Holger Levsen <holger at debian.org>, 
  David Prévot <taffit at debian.org>
diff --git a/debian/rules b/debian/rules
index d47022a..7dde3c1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,6 +48,7 @@ binary-indep: install
 		documentation/audacity/README.audacity-manual-translations
 	dh_installchangelogs
 	dh_link
+	dh_strip_nondeterminism
 	dh_compress -X.pdf -X.html
 	dh_fixperms
 	dh_installdeb

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-doc.git



More information about the debian-edu-commits mailing list