File: reproducible.patch

package info (click to toggle)
pyferret 7.6.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 142,020 kB
  • sloc: fortran: 240,450; ansic: 25,233; python: 24,025; sh: 1,627; makefile: 1,132; pascal: 569; csh: 307; awk: 18
file content (23 lines) | stat: -rw-r--r-- 652 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Author: Alastair McKinstry <mckinstry@debian.org>
Description: Hard-code platform, date for reproducible builds
Last-Updated: 2016-07-07
Forwarded: no

Index: pyferret-7.4.3/fer/Makefile
===================================================================
--- pyferret-7.4.3.orig/fer/Makefile
+++ pyferret-7.4.3/fer/Makefile
@@ -13,8 +13,11 @@ include ../site_specific.mk
 #
 include ../platform_specific.mk.$(BUILDTYPE)
 
-PLATFORM := $(shell uname -rs)
-DATE := $(shell /bin/date +%D)
+# Hard-code these for bit-reproducible builds
+# PLATFORM := $(shell uname -rs)
+# DATE := $(shell /bin/date +%D)
+PLATFORM := Debian
+DATE:= 6/30/16
 
 #
 # Macros