Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kst for openSUSE:Factory checked in 
at 2021-05-12 19:31:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kst (Old)
 and      /work/SRC/openSUSE:Factory/.kst.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kst"

Wed May 12 19:31:56 2021 rev:51 rq:892343 version:2.0.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/kst/kst.changes  2020-07-21 15:52:47.980471995 
+0200
+++ /work/SRC/openSUSE:Factory/.kst.new.2988/kst.changes        2021-05-12 
19:32:24.670994707 +0200
@@ -1,0 +2,6 @@
+Wed May 12 05:29:54 UTC 2021 - Christophe Giboudeaux <[email protected]>
+
+- Add patch to fix build with CMake 3.20:
+  * 0001-Fix-build-with-CMake-3.20.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Fix-build-with-CMake-3.20.patch

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

Other differences:
------------------
++++++ kst.spec ++++++
--- /var/tmp/diff_new_pack.mQEIJg/_old  2021-05-12 19:32:25.298992198 +0200
+++ /var/tmp/diff_new_pack.mQEIJg/_new  2021-05-12 19:32:25.298992198 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package kst
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 # Copyright (c) 2011 Christian Trippe [email protected]
 #
 # All modifications and additions to the file contributed by third parties
@@ -29,6 +29,8 @@
 Patch0:         gsl2-support.patch
 # PATCH-FIX-UPSTREAM -- Fix-build-with-Qt-511.patch -- Fixes build with Qt 5.11
 Patch1:         Fix-build-with-Qt-511.patch
+# PATCH-FIX-UPSTREAM
+Patch2:         0001-Fix-build-with-CMake-3.20.patch
 BuildRequires:  Mesa-devel
 BuildRequires:  cmake
 BuildRequires:  fdupes
@@ -93,7 +95,7 @@
              -Dkst_qt5=1"
 
 %cmake $EXTRA_FLAGS
-make %{?_smp_mflags}
+%cmake_build
 
 %install
 %cmake_install

++++++ 0001-Fix-build-with-CMake-3.20.patch ++++++
>From c1b7769c37c70d189d09d8dc104d0541433b58b6 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <[email protected]>
Date: Wed, 12 May 2021 07:27:48 +0200
Subject: [PATCH] Fix build with CMake 3.20

---
 CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index dfb3bf8..b7c75f0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -112,10 +112,10 @@ elseif(kst_3rdparty_download)
         elseif(GCC_VERSION VERSION_EQUAL 4.7 OR GCC_VERSION VERSION_GREATER 
4.7)
             set(ver 4.7)
             set(md5 de6e8dbab1bb17eee6057941fddc93e3)
-        else(GCC_VERSION VERSION_EQUAL 4.6 OR GCC_VERSION VERSION_GREATER 4.6)
+        elseif(GCC_VERSION VERSION_EQUAL 4.6 OR GCC_VERSION VERSION_GREATER 
4.6)
             set(ver 4.6)
             set(md5 70d8670af9c21eb8fb466654c95d8e4d)
-        else(GCC_VERSION VERSION_GREATER 4.4)
+        elseif(GCC_VERSION VERSION_GREATER 4.4)
             set(ver 4.4)
             set(md5 999248fb40a44543af4dd4cd1be0ceeb)
         else()
-- 
2.31.1

Reply via email to