Hello community,

here is the log from the commit of package ant for openSUSE:Factory checked in 
at 2017-10-28 14:20:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ant (Old)
 and      /work/SRC/openSUSE:Factory/.ant.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ant"

Sat Oct 28 14:20:16 2017 rev:65 rq:536713 version:1.9.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/ant/ant-antlr.changes    2017-10-10 
11:38:49.490431810 +0200
+++ /work/SRC/openSUSE:Factory/.ant.new/ant-antlr.changes       2017-10-28 
14:20:16.758634190 +0200
@@ -1,0 +2,6 @@
+Tue Oct 24 11:26:36 UTC 2017 - [email protected]
+
+- Add reproducible-build-date.patch to allow to have fixed build dates
+  to make other packages build more reproducibly
+
+-------------------------------------------------------------------
ant-junit.changes: same change
ant.changes: same change

New:
----
  reproducible-build-date.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ant-antlr.spec ++++++
--- /var/tmp/diff_new_pack.oUJbx6/_old  2017-10-28 14:20:20.662491457 +0200
+++ /var/tmp/diff_new_pack.oUJbx6/_new  2017-10-28 14:20:20.666491311 +0200
@@ -41,6 +41,8 @@
 Patch3:         reproducible.patch
 Patch4:         apache-ant-1.9.9-sourcetarget.patch
 Patch5:         apache-ant-bootstrap.patch
+#PATCH-FEATURE-OPENSUSE bmwiedemann -- have fixed build dates
+Patch6:         reproducible-build-date.patch
 BuildRequires:  antlr-bootstrap
 BuildRequires:  java-devel >= 1.6
 BuildRequires:  javapackages-tools
@@ -339,6 +341,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 # clean jar files
 %{_bindir}/find . -name "*.jar" | %{_bindir}/xargs -t rm

ant-junit.spec: same change
++++++ ant.spec ++++++
--- /var/tmp/diff_new_pack.oUJbx6/_old  2017-10-28 14:20:20.718489410 +0200
+++ /var/tmp/diff_new_pack.oUJbx6/_new  2017-10-28 14:20:20.718489410 +0200
@@ -40,6 +40,8 @@
 Patch3:         reproducible.patch
 Patch4:         apache-ant-1.9.9-sourcetarget.patch
 Patch5:         apache-ant-bootstrap.patch
+#PATCH-FEATURE-OPENSUSE bmwiedemann -- have fixed build dates
+Patch6:         reproducible-build-date.patch
 BuildRequires:  antlr-bootstrap
 BuildRequires:  java-devel >= 1.6
 BuildRequires:  javapackages-tools
@@ -338,6 +340,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 # clean jar files
 %{_bindir}/find . -name "*.jar" | %{_bindir}/xargs -t rm


++++++ reproducible-build-date.patch ++++++
Author: Bernhard M. Wiedemann <bwiedemann suse.de>
Date: 2017-10-24

have fixed build dates
to make packages like rhino build more reproducibly
that use their build.xml to insert build dates into output files

Index: apache-ant-1.9.9/src/script/ant
===================================================================
--- apache-ant-1.9.9.orig/src/script/ant
+++ apache-ant-1.9.9/src/script/ant
@@ -290,6 +290,9 @@ fi
 if $usejikes; then
   ANT_OPTS="$ANT_OPTS -Dbuild.compiler=jikes"
 fi
+if test -n "$SOURCE_DATE_EPOCH" ; then
+  ANT_OPTS="$ANT_OPTS -Dant.tstamp.now=$SOURCE_DATE_EPOCH"
+fi
 
 # For Cygwin, switch paths to appropriate format before running java
 # For PATHs convert to unix format first, then to windows format to ensure

Reply via email to