Package: yodl-doc
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

The timestamp is embedded in /usr/share/doc/yodl-doc/yodl.ps.gz and
yodl.dvi.gz, which causes unreproducible builds.

The fix is to export FORCE_SOURCE_DATE=1 in debian/rules to get texlive
to respect the SOURCE_DATE_EPOCH variable.


live well,
  vagrant
From 24c81b1342e743fca81e0833a24e0c19cdd47776 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Tue, 4 Feb 2020 02:28:57 +0000
Subject: [PATCH] debian/rules: Set FORCE_SOURCE_DATE=1 so texlive respects
 SOURCE_DATE_EPOCH for reproducible builds.

---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index b790453..432de57 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,6 +24,9 @@ export CXX = g++
 
 export LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) -Wl,-z,now
 
+# Set so texlive respects SOURCE_DATE_EPOCH for reproducible builds.
+export FORCE_SOURCE_DATE=1
+
 unexport NAME
 
 %:
-- 
2.20.1

Attachment: signature.asc
Description: PGP signature

Reply via email to