Hello community,

here is the log from the commit of package QMPlay2 for openSUSE:Factory checked 
in at 2018-11-12 09:45:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/QMPlay2 (Old)
 and      /work/SRC/openSUSE:Factory/.QMPlay2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "QMPlay2"

Mon Nov 12 09:45:21 2018 rev:33 rq:648264 version:18.07.03

Changes:
--------
--- /work/SRC/openSUSE:Factory/QMPlay2/QMPlay2.changes  2018-08-27 
12:59:47.608845273 +0200
+++ /work/SRC/openSUSE:Factory/.QMPlay2.new/QMPlay2.changes     2018-11-12 
09:46:25.752736193 +0100
@@ -1,0 +2,5 @@
+Sun Nov 11 20:26:53 UTC 2018 - o...@aepfle.de
+
+- Use gcc7 in Leap42 and SLE12 to fix build.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ QMPlay2.spec ++++++
--- /var/tmp/diff_new_pack.Abc2WJ/_old  2018-11-12 09:46:26.220735483 +0100
+++ /var/tmp/diff_new_pack.Abc2WJ/_new  2018-11-12 09:46:26.220735483 +0100
@@ -27,6 +27,14 @@
 # PATCH-FIX-OPENSUSE vs. WARNING: invalid-desktopfile contains group,
 # but ones extending the format should start with "X-".
 Patch2:         QMPlay2-desktop-warnings.diff
+%if 0%{?suse_version} > 1320
+BuildRequires:  gcc
+BuildRequires:  gcc-c++
+%else
+# Leap 42.3 / SLE12SP3Backports
+BuildRequires:  gcc7
+BuildRequires:  gcc7-c++
+%endif
 BuildRequires:  cmake >= 3.5
 BuildRequires:  pkgconfig
 BuildRequires:  cmake(Qt5LinguistTools)
@@ -78,6 +86,10 @@
 %patch2 -p1
 
 %build
+test -x "$(type -p gcc)" && export CC="$_"
+test -x "$(type -p g++)" && export CXX="$_"
+test -x "$(type -p gcc-7)" && export CC="$_"
+test -x "$(type -p g++-7)" && export CXX="$_"
 %cmake \
   -DUSE_PROSTOPLEER=OFF \
 %make_jobs


Reply via email to