[med-svn] [Git][med-team/snpeff][master] Ensuring build reproducibility when calling date in d/rules

Pierre Gruet gitlab at salsa.debian.org
Thu Mar 18 20:29:41 GMT 2021



Pierre Gruet pushed to branch master at Debian Med / snpeff


Commits:
b89e84e1 by Pierre Gruet at 2021-03-18T21:29:25+01:00
Ensuring build reproducibility when calling date in d/rules

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -33,7 +33,7 @@ override_dh_auto_configure:
 	# We replace the compiling timestamp by the one in d/changelog to enhance
 	# build reproducibility.
 	cp src/main/java/org/snpeff/SnpEff.java SnpEff.java.old
-	sed "s/Gpr\.compile.*/\"$$(date --date="@$(SOURCE_DATE_EPOCH)" +"%Y-%m-%d %H:%M" )\";/" SnpEff.java.old > src/main/java/org/snpeff/SnpEff.java
+	sed "s/Gpr\.compile.*/\"$$(date --utc --date="@$(SOURCE_DATE_EPOCH)" +"%Y-%m-%d %H:%M" )\";/" SnpEff.java.old > src/main/java/org/snpeff/SnpEff.java
 	dh_auto_configure
 
 override_dh_auto_test:



View it on GitLab: https://salsa.debian.org/med-team/snpeff/-/commit/b89e84e148d5fc20dc856efd6386e992b5236c79

-- 
View it on GitLab: https://salsa.debian.org/med-team/snpeff/-/commit/b89e84e148d5fc20dc856efd6386e992b5236c79
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210318/d097a9b5/attachment.htm>


More information about the debian-med-commit mailing list