[Reproducible-builds] Bug#834983: eyed3: please make the build reproducible
Chris Lamb
lamby at debian.org
Sun Aug 21 10:14:49 UTC 2016
Source: eyed3
Version: 0.6.18-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], I noticed
that eyed3 could not be built reproducibly.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/patches/reproducible-build.patch 1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/reproducible-build.patch 2016-08-21 11:14:28.190933490 +0100
@@ -0,0 +1,19 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2016-08-21
+
+--- eyed3-0.6.18.orig/configure
++++ eyed3-0.6.18/configure
+@@ -1674,7 +1674,11 @@ fi
+
+ BUILD_DATE=`date`
+
+-MANPAGE_DATE=`date +'%b. %d, %Y'`
++if test -n "$SOURCE_DATE_EPOCH"; then
++ MANPAGE_DATE=`LC_ALL=C date --utc --date="@$SOURCE_DATE_EPOCH" +'%b. %d, %Y'`
++else
++ MANPAGE_DATE=`date +'%b. %d, %Y'`
++fi
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
--- a/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/series 2016-08-21 11:14:27.050922086 +0100
@@ -0,0 +1 @@
+reproducible-build.patch
More information about the Reproducible-builds
mailing list