Source: snp-sites
Version: 2.0.2-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that snp-sites could not be built reproducibly.
The current build date is embedded into the manpage.

The attached patch manually sets the embedded timestamp to the last
modification date of the file.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/patches/reproducible-build.patch b/debian/patches/reproducible-build.patch
new file mode 100644
index 0000000..3294464
--- /dev/null
+++ b/debian/patches/reproducible-build.patch
@@ -0,0 +1,14 @@
+Description: Manually set the timestamp in the manpage to the last modification time
+
+Index: snp-sites-2.0.2/snp-sites.txt
+===================================================================
+--- snp-sites-2.0.2.orig/snp-sites.txt
++++ snp-sites-2.0.2/snp-sites.txt
+@@ -1,6 +1,7 @@
+ SNP-SITESDOC(1)
+ ==============
+ :doctype: manpage
++:revdate: 2015-09-03
+ 
+ 
+ NAME
diff --git a/debian/patches/series b/debian/patches/series
index 5891a13..35eda3a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 add_lib_subunit.patch
+reproducible-build.patch
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to