Hello community,

here is the log from the commit of package babe for openSUSE:Factory checked in 
at 2020-07-20 20:59:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/babe (Old)
 and      /work/SRC/openSUSE:Factory/.babe.new.3592 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "babe"

Mon Jul 20 20:59:58 2020 rev:2 rq:821774 version:1.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/babe/babe.changes        2018-02-10 
17:57:29.969582485 +0100
+++ /work/SRC/openSUSE:Factory/.babe.new.3592/babe.changes      2020-07-20 
21:01:11.153081642 +0200
@@ -1,0 +2,6 @@
+Sun Jul 19 17:37:14 UTC 2020 - Christophe Giboudeaux <[email protected]>
+
+- Add patch to fix build:
+  * 0001-Always-use-local-CMake-modules-first.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Always-use-local-CMake-modules-first.patch

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

Other differences:
------------------
++++++ babe.spec ++++++
--- /var/tmp/diff_new_pack.ZrgYzk/_old  2020-07-20 21:01:13.741084264 +0200
+++ /var/tmp/diff_new_pack.ZrgYzk/_new  2020-07-20 21:01:13.745084268 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package babe
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -20,10 +20,12 @@
 Version:        1.2.1
 Release:        0
 Summary:        A Qt music player with support for favorites
-License:        GPL-3.0+
+License:        GPL-3.0-or-later
 Group:          Productivity/Multimedia/Sound/Players
 URL:            https://babe.kde.org
 Source:         
http://download.kde.org/stable/%{name}/%{version}/src/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM
+Patch0:         0001-Always-use-local-CMake-modules-first.patch
 BuildRequires:  libqt5-qtbase-common-devel
 BuildRequires:  libtag-devel
 BuildRequires:  pkgconfig
@@ -49,18 +51,19 @@
 videos into the local collection by using a Chromium extension.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
   %cmake_kf5 -d build
-  make %{?_smp_mflags}
+  %cmake_build
 
 %install
   %kf5_makeinstall -C build
   %suse_update_desktop_file -r org.kde.babe Qt KDE AudioVideo Audio Player
 
 %files
-%doc COPYING* README*
+%license COPYING*
+%doc README*
 %{_kf5_bindir}/babe
 %{_kf5_applicationsdir}/org.kde.babe.desktop
 %{_kf5_iconsdir}/hicolor/*/apps/babe.*

++++++ 0001-Always-use-local-CMake-modules-first.patch ++++++
>From 496093bfcea2fbfa455f4299278685a90aaf1b13 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <[email protected]>
Date: Sun, 19 Jul 2020 19:36:43 +0200
Subject: [PATCH] Always use local CMake modules first

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5feb817..981c8a0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,7 +3,7 @@ project (babe)
 
 set (KF5_MIN_VERSION "5.24.0")
 find_package (ECM ${KF5_MIN_VERSION} CONFIG REQUIRED)
-set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake/modules)
+set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules ${ECM_MODULE_PATH})
 
 include(KDEInstallDirs)
 include(KDECMakeSettings)
-- 
2.27.0


Reply via email to