Hello community,

here is the log from the commit of package WindowMaker for openSUSE:Factory 
checked in at 2017-12-21 11:29:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/WindowMaker (Old)
 and      /work/SRC/openSUSE:Factory/.WindowMaker.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "WindowMaker"

Thu Dec 21 11:29:31 2017 rev:44 rq:558819 version:0.95.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/WindowMaker/WindowMaker.changes  2017-12-06 
08:59:30.346971890 +0100
+++ /work/SRC/openSUSE:Factory/.WindowMaker.new/WindowMaker.changes     
2017-12-21 11:29:38.994653177 +0100
@@ -1,0 +2,5 @@
+Wed Dec 20 12:11:03 UTC 2017 - [email protected]
+
+- Add WindowMaker-0.95.8-reproducible.patch to make build reproducible
+
+-------------------------------------------------------------------

New:
----
  WindowMaker-0.95.8-reproducible.patch

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

Other differences:
------------------
++++++ WindowMaker.spec ++++++
--- /var/tmp/diff_new_pack.jKrRlC/_old  2017-12-21 11:29:39.654620997 +0100
+++ /var/tmp/diff_new_pack.jKrRlC/_new  2017-12-21 11:29:39.654620997 +0100
@@ -38,6 +38,8 @@
 Patch3:         fix_wmgenmenu_paths.patch
 #
 Patch101:       wm-giflib.patch
+# PATCH-FEATURE-OPENSUSE
+Patch102:       WindowMaker-0.95.8-reproducible.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  fdupes
 BuildRequires:  fontconfig-devel
@@ -98,6 +100,7 @@
 %patch2
 %patch3
 %patch101
+%patch102 -p1
 cp %{S:4} .
 cp %{S:6} .
 %if 0%{?suse_version} < 1140

++++++ WindowMaker-0.95.8-reproducible.patch ++++++
could be upstreamed, but upstream seems dead
with lists.windowmaker.org down and the last git commit is from March

commit e9ab99877b71669a75c1c1a43c1fb24cb32c1bdf
Author: Bernhard M. Wiedemann <[email protected]>
Date:   Tue Dec 19 21:13:21 2017 +0100

    texi2txt: Use ChangeLog date instead of build date
    
    in order to make builds reproducible.
    See https://reproducible-builds.org/ for why this is good.
    
    This date call works with GNU date and BSD date.
    
    Without this patch, /usr/share/doc/packages/WindowMaker/README.i18n
    will differ in the line
      Published by The Window Maker team on ...
    
    ---
    An alternative solution could use the $SOURCE_DATE_EPOCH variable
    defined in https://reproducible-builds.org/specs/source-date-epoch/

diff --git a/script/generate-txt-from-texi.sh b/script/generate-txt-from-texi.sh
index 3800c72c..ee4e8603 100755
--- a/script/generate-txt-from-texi.sh
+++ b/script/generate-txt-from-texi.sh
@@ -822,7 +822,7 @@ function execute_commands(line,               
replaced_line, command) {
     } else if (command == "today") {
       # Make sure the date will be in english (we use "C" because it not 
certain
       # that the English locale is enabled on the machine of the user)
-      replaced_line = replaced_line "'"`LANG=C date '+%d %B %Y' | sed -e 
's,^0,,' `"'";
+      replaced_line = replaced_line "'"`LANG=C date -u -r ../../ChangeLog '+%d 
%B %Y' | sed -e 's,^0,,' `"'";
 
     # Commands to display text in a special style 
##############################
     } else if (command == "asis") {

Reply via email to