[med-svn] [toppred] 01/02: make build reproducible

Sascha Steinbiss satta at debian.org
Sat Aug 27 10:26:49 UTC 2016


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

satta pushed a commit to branch master
in repository toppred.

commit 8e5b443c66d60de5487c6e526a57828ec5e6a19e
Author: Sascha Steinbiss <satta at debian.org>
Date:   Sat Aug 27 09:38:04 2016 +0000

    make build reproducible
---
 debian/changelog       | 7 +++++++
 debian/filter-patterns | 6 ++++++
 debian/rules           | 6 ++++++
 3 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c4f3738..c4beca2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+toppred (1.10-4) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Make build reproducible.
+
+ -- Sascha Steinbiss <satta at debian.org>  Fri, 26 Aug 2016 21:30:01 +0000
+
 toppred (1.10-3) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/filter-patterns b/debian/filter-patterns
new file mode 100644
index 0000000..4fbb686
--- /dev/null
+++ b/debian/filter-patterns
@@ -0,0 +1,6 @@
+^abs_.+
+^install_sh
+^MAKEINFO
+^ACLOCAL
+^AUTO
+^CFLAGS
diff --git a/debian/rules b/debian/rules
index 23c03b8..bf405f7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,12 @@ override_dh_installexamples:
 	    -e 's?../src/toppred?/usr/bin/toppred?' \
 	    -e 's?$$srcdir/??g' \
 	    debian/$(DEBPKGNAME)/usr/share/doc/$(DEBPKGNAME)/examples/test/*.test
+	TMPFILE=`mktemp` && \
+	egrep -v -f debian/filter-patterns debian/$(DEBPKGNAME)/usr/share/doc/$(DEBPKGNAME)/examples/test/Makefile  > $$TMPFILE && \
+	mv $$TMPFILE debian/$(DEBPKGNAME)/usr/share/doc/$(DEBPKGNAME)/examples/test/Makefile && \
+	egrep -v -f debian/filter-patterns debian/$(DEBPKGNAME)/usr/share/doc/$(DEBPKGNAME)/examples/data/Makefile > $$TMPFILE && \
+	mv $$TMPFILE debian/$(DEBPKGNAME)/usr/share/doc/$(DEBPKGNAME)/examples/data/Makefile && \
+	rm -f $$TMPFILE
 
 #get-orig-source:
 #	. debian/get-orig-source

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



More information about the debian-med-commit mailing list