Hello community,
here is the log from the commit of package libpt2 for openSUSE:Factory checked in at 2018-11-28 11:09:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libpt2 (Old)
and /work/SRC/openSUSE:Factory/.libpt2.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libpt2"
Wed Nov 28 11:09:33 2018 rev:41 rq:651442 version:2.10.11
Changes:
--------
--- /work/SRC/openSUSE:Factory/libpt2/libpt2.changes 2017-09-29 11:52:46.168943126 +0200
+++ /work/SRC/openSUSE:Factory/.libpt2.new.19453/libpt2.changes 2018-11-28 11:09:37.323214562 +0100
@@ -1,0 +2,6 @@
+Sat Nov 17 20:59:12 UTC 2018 - Bernhard Wiedemann
+
+- Add reproducible.patch to not store build system kernel
+ version (boo#1101107)
+
+-------------------------------------------------------------------
New:
----
reproducible.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libpt2.spec ++++++
--- /var/tmp/diff_new_pack.FubN5j/_old 2018-11-28 11:09:38.631212783 +0100
+++ /var/tmp/diff_new_pack.FubN5j/_new 2018-11-28 11:09:38.631212783 +0100
@@ -48,6 +48,7 @@
Patch7: missing-decls.patch
# PATCH-FIX-UPSTREAM libpt2-openssl11.patch boo#1055477 mgorse@suse.com -- port to OpenSSL 1.1.
Patch8: libpt2-openssl11.patch
+Patch9: reproducible.patch
BuildRequires: SDL-devel
BuildRequires: alsa-devel
BuildRequires: bison
@@ -185,6 +186,7 @@
%patch6 -p1
%patch7 -p1
%patch8 -p1
+%patch9 -p1
%build
export CXXFLAGS="%optflags -fvisibility-inlines-hidden"
++++++ reproducible.patch ++++++
Author: Bernhard M. Wiedemann <bwiedemann suse de>
Date: 2018-11-17
https://bugzilla.opensuse.org/show_bug.cgi?id=1101107 packages do not build reproducibly from including kernel version
Index: ptlib-2.10.11/configure.ac
===================================================================
--- ptlib-2.10.11.orig/configure.ac
+++ ptlib-2.10.11/configure.ac
@@ -179,7 +179,7 @@ NEEDS_PTHREADS=yes
case "$target_os" in
linux*) OSTYPE=linux ;
- OSRELEASE="\"`uname -r`\"";
+ OSRELEASE="\"2.6\"";
OS_TAG="P_LINUX" ;
need_pragma=yes ;
AC_DEFINE(P_PTHREADS, 1, "PThreads found")
Index: ptlib-2.10.11/configure
===================================================================
--- ptlib-2.10.11.orig/configure
+++ ptlib-2.10.11/configure
@@ -4379,7 +4379,7 @@ NEEDS_PTHREADS=yes
case "$target_os" in
linux*) OSTYPE=linux ;
- OSRELEASE="\"`uname -r`\"";
+ OSRELEASE="\"2.6\"";
OS_TAG="P_LINUX" ;
need_pragma=yes ;