[spring] 01/01: new attempt at improving reproducibility
Alexandre Detiste
detiste-guest at moszumanska.debian.org
Sun Mar 6 15:16:26 UTC 2016
This is an automated email from the git hooks/post-receive script.
detiste-guest pushed a commit to branch master
in repository spring.
commit 21f60ebba7d9678b8dc3675b975a77f21005dd11
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date: Sun Mar 6 16:16:00 2016 +0100
new attempt at improving reproducibility
---
debian/changelog | 8 ++++++++
debian/patches/reproducible.patch | 11 +++++++++++
debian/patches/series | 1 +
3 files changed, 20 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 8fb590d..63d5c65 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+spring (101.0+dfsg-3) UNRELEASED; urgency=medium
+
+ [ Alexandre Detiste ]
+ * new attempt a making .sdz archives reproducible:
+ add a patch that set TZ=UTC.
+
+ -- Markus Koschany <apo at debian.org> Sun, 06 Mar 2016 16:13:36 +0100
+
spring (101.0+dfsg-2) unstable; urgency=medium
* Move all Java dependencies from Build-Depends-Indep to Build-Depends
diff --git a/debian/patches/reproducible.patch b/debian/patches/reproducible.patch
new file mode 100644
index 0000000..781ad68
--- /dev/null
+++ b/debian/patches/reproducible.patch
@@ -0,0 +1,11 @@
+--- a/cont/base/CMakeLists.txt
++++ b/cont/base/CMakeLists.txt
+@@ -18,7 +18,7 @@
+ set(outputfile "${Spring_BINARY_DIR}/${outputdir}/${filename}")
+ add_custom_command(
+ OUTPUT "${outputfile}"
+- COMMAND ${SEVENZIP_BIN} a -tzip ${outputfile} ${files} ${QUIET}
++ COMMAND env TZ=UTC ${SEVENZIP_BIN} a -tzip ${outputfile} ${files} ${QUIET}
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/
+ COMMENT "Creating ${outputfile}"
+ DEPENDS ${files}
diff --git a/debian/patches/series b/debian/patches/series
index dfb098a..819c0ae 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
glShaderSource.patch
sdl-debian.patch
+reproducible.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/spring.git
More information about the Pkg-games-commits
mailing list