[Git][java-team/jalview][master] Building reproducibly by calling date with --utc in d/write_build_properties_file.sh.in

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



Pierre Gruet pushed to branch master at Debian Java Maintainers / jalview


Commits:
4649fdaa by Pierre Gruet at 2021-03-18T21:58:44+01:00
Building reproducibly by calling date with --utc in d/write_build_properties_file.sh.in

- - - - -


2 changed files:

- debian/changelog
- debian/write_build_properties_file.sh.in


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+jalview (2.11.1.3+dfsg2-5) UNRELEASED; urgency=medium
+
+  * Making the build reproducible thanks to Chris Lamb's patch about a
+    timestamp issue (Closes: #985448)
+
+ -- Pierre Gruet <pgt at debian.org>  Thu, 18 Mar 2021 21:39:16 +0100
+
 jalview (2.11.1.3+dfsg2-4) unstable; urgency=medium
 
   * Building the .build_properties file using dpkg-parsechangelog -STimestamp


=====================================
debian/write_build_properties_file.sh.in
=====================================
@@ -3,7 +3,7 @@
 set -e
 
 echo "#--Jalview Build Details--" > resources/.build_properties
-echo "#"$(date --date="@$(dpkg-parsechangelog -STimestamp)" +"%Y-%m-%d %H:%M:%S") >> resources/.build_properties
-echo "BUILD_DATE="$(date --date="@$(dpkg-parsechangelog -STimestamp)" +"%H\\:%M\\:%S %d %B %Y") >> resources/.build_properties
+echo "#"$(date --utc --date="@$(dpkg-parsechangelog -STimestamp)" +"%Y-%m-%d %H:%M:%S") >> resources/.build_properties
+echo "BUILD_DATE="$(date --utc --date="@$(dpkg-parsechangelog -STimestamp)" +"%H\\:%M\\:%S %d %B %Y") >> resources/.build_properties
 echo "INSTALLATION=deb" >> resources/.build_properties
 echo "VERSION=VERSION_NUMBER" >> resources/.build_properties



View it on GitLab: https://salsa.debian.org/java-team/jalview/-/commit/4649fdaaefb12bd67a24192927308ecc4296d7b5

-- 
View it on GitLab: https://salsa.debian.org/java-team/jalview/-/commit/4649fdaaefb12bd67a24192927308ecc4296d7b5
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/pkg-java-commits/attachments/20210318/96c9a374/attachment.htm>


More information about the pkg-java-commits mailing list