Hello community,
here is the log from the commit of package trinity for openSUSE:Factory checked in at 2016-02-05 00:31:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trinity (Old)
and /work/SRC/openSUSE:Factory/.trinity.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trinity"
Changes:
--------
--- /work/SRC/openSUSE:Factory/trinity/trinity.changes 2016-01-05 21:55:46.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.trinity.new/trinity.changes 2016-02-05 00:31:34.000000000 +0100
@@ -1,0 +2,8 @@
+Tue Feb 2 08:29:58 UTC 2016 - jslaby@suse.com
+
+- Update to 20160131
+- remove 0001-compat.h-add-more-macros.patch (upstream)
+- remove 0002-Makefile-fix-build-with-older-glibc.patch (upstream)
+- add 0001-net-protocols.c-fix-build-on-old-machines.patch
+
+-------------------------------------------------------------------
Old:
----
0001-compat.h-add-more-macros.patch
0002-Makefile-fix-build-with-older-glibc.patch
trinity-20151230.tar.xz
New:
----
0001-net-protocols.c-fix-build-on-old-machines.patch
trinity-20160131.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ trinity.spec ++++++
--- /var/tmp/diff_new_pack.jS8BYo/_old 2016-02-05 00:31:35.000000000 +0100
+++ /var/tmp/diff_new_pack.jS8BYo/_new 2016-02-05 00:31:35.000000000 +0100
@@ -17,16 +17,29 @@
Name: trinity
-Version: 20151230
+Version: 20160131
Release: 0
Summary: A Linux System call fuzz tester
License: GPL-2.0
Group: Development/Tools/Other
Url: http://codemonkey.org.uk/projects/trinity/
Source0: %{name}-%{version}.tar.xz
-Patch0: 0001-compat.h-add-more-macros.patch
-Patch1: 0002-Makefile-fix-build-with-older-glibc.patch
+Patch0: 0001-net-protocols.c-fix-build-on-old-machines.patch
+# SLE11-SP*, for -std=gnu11
+%if 0%{suse_version} == 1110
+
+%if 0%{?product_libs_gcc_ver} == 48
+#SP4
+%define gcc_minor 8
+%else
+#SP3
+%define gcc_minor 7
+%endif
+
+BuildRequires: gcc4%{gcc_minor}
+%else
BuildRequires: gcc
+%endif
BuildRequires: make
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -40,9 +53,11 @@
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
%build
+%if 0%{suse_version} == 1110
+export CC=gcc-4.%{gcc_minor}
+%endif
export CFLAGS="%{optflags}"
./configure.sh
make %{?_smp_mflags} V=1
++++++ 0001-net-protocols.c-fix-build-on-old-machines.patch ++++++
From: Jiri Slaby