Package: exactimage / 1.0.2-1

Drop-date-to-make-build-reproducible.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From: Sven Eckelmann <sven@narfation.org>
Date: Tue, 5 May 2015 23:14:55 +0200
Subject: Drop date to make build reproducible

---
 config/functions | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/config/functions b/config/functions
index 1f18c5c..c5feade 100644
--- a/config/functions
+++ b/config/functions
@@ -174,7 +174,6 @@ EOT
 #
 init () {
   [ "$VERSION" ] || VERSION="$VERSION_MAJOR.$VERSION_MINOR.$VERSION_MICRO"
-  [ "$DATE" ] || DATE="`date "+%a, %d %b %Y"`"
 
   prefix="/usr/local"
   exec_prefix="\${prefix}"
@@ -192,9 +191,9 @@ init () {
   mandir="\${prefix}/man"
 
   save_make="prefix exec_prefix PACKAGE VERSION VERSION_MAJOR VERSION_MINOR \
-             VERSION_MICRO DATE"
+             VERSION_MICRO"
   save_h="PACKAGE VERSION VERSION_MAJOR VERSION_MINOR \
-          VERSION_MICRO DATE"
+          VERSION_MICRO"
 
   # set to be saved options and features
   for x in $dirs ; do