Hello community,

here is the log from the commit of package odp-thunderx for openSUSE:Factory 
checked in at 2017-06-26 15:52:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/odp-thunderx (Old)
 and      /work/SRC/openSUSE:Factory/.odp-thunderx.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "odp-thunderx"

Mon Jun 26 15:52:16 2017 rev:3 rq:505195 version:1.11.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/odp-thunderx/odp-thunderx.changes        
2017-03-16 09:36:08.224613534 +0100
+++ /work/SRC/openSUSE:Factory/.odp-thunderx.new/odp-thunderx.changes   
2017-06-26 15:52:22.318741512 +0200
@@ -1,0 +2,10 @@
+Wed Jun 14 07:08:27 UTC 2017 - [email protected]
+
+- Following instructions from upstream to build with gcc-7
+
+-------------------------------------------------------------------
+Mon Jun  5 14:10:59 UTC 2017 - [email protected]
+
+- Support for GCC-7
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ odp-thunderx.spec ++++++
--- /var/tmp/diff_new_pack.6smSlk/_old  2017-06-26 15:52:24.062495626 +0200
+++ /var/tmp/diff_new_pack.6smSlk/_new  2017-06-26 15:52:24.066495062 +0200
@@ -30,7 +30,11 @@
 BuildRequires:  automake
 BuildRequires:  chrpath
 BuildRequires:  doxygen
+%if %{suse_version} >= 1330
+BuildRequires:  gcc
+%else
 BuildRequires:  gcc6
+%endif
 BuildRequires:  graphviz
 BuildRequires:  libopenssl-devel
 BuildRequires:  libtool
@@ -82,7 +86,11 @@
 sed -i "s|^AC_INIT.*|AC_INIT([OpenDataPlane], [%{version}], 
[[email protected]])|" configure.ac
 
 %build
-export CFLAGS="%{optflags} -O3"
+%if %{suse_version} >= 1330
+export CFLAGS="%{optflags} -Wformat-overflow=0 -Wimplicit-fallthrough=0 
-Wformat-truncation=0 -latomic"
+%else
+export CFLAGS="%{optflags}"
+%endif
 ./bootstrap
 %configure --with-platform=linux-thunder \
        --disable-static \
@@ -91,7 +99,11 @@
        LIBS="-ldl"
 
 %install
+%if %{suse_version} >= 1330
+make V=1 DESTDIR=%{buildroot} %{?_smp_mflags} install
+%else
 make V=1 CC=gcc-6 DESTDIR=%{buildroot} %{?_smp_mflags} install
+%endif
 find %{buildroot} -type f -name 'libodp*.la' |xargs rm -f
 chrpath --delete %{buildroot}%{_bindir}/*
 


Reply via email to