Hello community,

here is the log from the commit of package slade for openSUSE:Factory checked 
in at 2018-06-27 10:23:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/slade (Old)
 and      /work/SRC/openSUSE:Factory/.slade.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "slade"

Wed Jun 27 10:23:06 2018 rev:7 rq:619219 version:3.1.1.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/slade/slade.changes      2018-06-19 
11:56:24.998176179 +0200
+++ /work/SRC/openSUSE:Factory/.slade.new/slade.changes 2018-06-27 
10:23:09.752227928 +0200
@@ -1,0 +2,6 @@
+Tue Jun 26 10:46:19 UTC 2018 - bwiedem...@suse.com
+
+- Add reproducible.patch to not store extra timestamps in zip
+  to make build reproducible
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ slade.spec ++++++
--- /var/tmp/diff_new_pack.pU1HtW/_old  2018-06-27 10:23:10.392204591 +0200
+++ /var/tmp/diff_new_pack.pU1HtW/_new  2018-06-27 10:23:10.396204445 +0200
@@ -29,6 +29,8 @@
 Patch1:         basepk3.diff
 Patch2:         wxChar.patch
 Patch10:        disable_sse.patch
+# PATCH-FIX-UPSTREAM https://github.com/sirjuddington/SLADE/pull/892 
+Patch11:        reproducible.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ImageMagick
 BuildRequires:  cmake
@@ -60,6 +62,7 @@
 %ifnarch %{ix86} x86_64
 %patch10 -p0
 %endif
+%patch11 -p1
 
 %build
 %cmake -DUSE_WEBKIT_STARTPAGE=ON

++++++ reproducible.patch ++++++
>From 74a3129429a8f99dfcac78ac676d2ca845e05af6 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <bwiedem...@suse.de>
Date: Tue, 26 Jun 2018 12:36:57 +0200
Subject: [PATCH] Do not save extra file attributes in .zip

to make it easier to make a reproducible build
See https://reproducible-builds.org/ for why this is good.
---
 dist/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dist/CMakeLists.txt b/dist/CMakeLists.txt
index 842d3cb1..a7c617bd 100644
--- a/dist/CMakeLists.txt
+++ b/dist/CMakeLists.txt
@@ -4,7 +4,7 @@ find_program(ZIPTOOL_7Z_EXECUTABLE 7z 
"$ENV{ProgramFiles}/7-Zip")
 if(ZIPTOOL_7Z_EXECUTABLE)
        set(ZIP_COMMAND "${ZIPTOOL_7Z_EXECUTABLE}" u -tzip -r 
"${CMAKE_BINARY_DIR}/slade.pk3" .)
 elseif(ZIPTOOL_ZIP_EXECUTABLE)
-       set(ZIP_COMMAND "${ZIPTOOL_ZIP_EXECUTABLE}" -r 
"${CMAKE_BINARY_DIR}/slade.pk3" .)
+       set(ZIP_COMMAND "${ZIPTOOL_ZIP_EXECUTABLE}" -X -r 
"${CMAKE_BINARY_DIR}/slade.pk3" .)
 else()
        message(STATUS "no zip executable, slade.pk3 won't build")
 endif()

Reply via email to