Skip to content

Instantly share code, notes, and snippets.

@lamby
Created August 31, 2015 17:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lamby/14731b4b0ad8e273f522 to your computer and use it in GitHub Desktop.
Save lamby/14731b4b0ad8e273f522 to your computer and use it in GitHub Desktop.
--- a/debian/patches/reproducible-build 1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/reproducible-build 2015-08-31 17:59:56.338316830 +0100
@@ -0,0 +1,10 @@
+--- cardpeek-0.8.4.orig/update_dot_cardpeek_dir.sh
++++ cardpeek-0.8.4/update_dot_cardpeek_dir.sh
+@@ -1,6 +1,6 @@
+ #/bin/bash
+
+-VERSION=`date +%s`
++VERSION=${SOURCE_DATE_EPOCH:-`date +%s`}
+
+ SOURCE_DST=`pwd`
+
--- a/debian/patches/series 2015-08-31 17:46:35.487596514 +0100
--- b/debian/patches/series 2015-08-31 17:59:47.634243212 +0100
@@ -1,2 +1,3 @@
lintian_warnings
lintian2
+reproducible-build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment