[python-caja] 01/04: Make build reproducible. Thanks to Cris Lamb for providing the patch. (Closes: #809027).
Mike Gabriel
sunweaver at debian.org
Sat Jan 2 08:02:59 UTC 2016
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository python-caja.
commit 3a088ac2e035a5abae87102d9fda999fdaec3c7f
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Sat Jan 2 08:50:16 2016 +0100
Make build reproducible. Thanks to Cris Lamb for providing the patch. (Closes: #809027).
---
debian/patches/0001_reproducible-build.patch | 14 ++++++++++++++
debian/patches/series | 1 +
2 files changed, 15 insertions(+)
diff --git a/debian/patches/0001_reproducible-build.patch b/debian/patches/0001_reproducible-build.patch
new file mode 100644
index 0000000..5762043
--- /dev/null
+++ b/debian/patches/0001_reproducible-build.patch
@@ -0,0 +1,14 @@
+Description: Make build reproducible.
+Author: Chris Lamb <lamby at debian.org>
+
+--- python-caja-1.10.0.orig/docs/Makefile.am
++++ python-caja-1.10.0/docs/Makefile.am
+@@ -86,7 +86,7 @@ REFERENCE_DEPS = \
+ if ENABLE_GTK_DOC
+
+ reference/builddate.xml: $(REFERENCE_DEPS)
+- $(PYTHON) -c 'import datetime; print datetime.date.today()' > $@
++ $(PYTHON) -c "import os, time, datetime; print datetime.datetime.utcfromtimestamp(int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))).strftime('%Y-%m-%d')" > $@
+
+ $(HTML_FILES): $(REFERENCE_DEPS)
+ xsltproc --nonet --xinclude -o $(BUILDDIR)/html/ \
diff --git a/debian/patches/series b/debian/patches/series
index e71e09d..e9077f0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
2001_fix-python-libdir-not-found.patch
+0001_reproducible-build.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/python-caja.git
More information about the pkg-mate-commits
mailing list