Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdesvn for openSUSE:Factory checked 
in at 2025-03-20 19:26:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdesvn (Old)
 and      /work/SRC/openSUSE:Factory/.kdesvn.new.2696 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdesvn"

Thu Mar 20 19:26:21 2025 rev:68 rq:1254730 version:2.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdesvn/kdesvn.changes    2024-11-27 
22:17:17.511410753 +0100
+++ /work/SRC/openSUSE:Factory/.kdesvn.new.2696/kdesvn.changes  2025-03-20 
19:27:07.558933066 +0100
@@ -1,0 +2,6 @@
+Thu Mar 20 13:04:01 UTC 2025 - Christophe Marin <christo...@krop.fr>
+
+- - Add patch:
+  * kdesvn-cmake4.patch
+
+-------------------------------------------------------------------

New:
----
  kdesvn-cmake4.patch

BETA DEBUG BEGIN:
  New:- - Add patch:
  * kdesvn-cmake4.patch
BETA DEBUG END:

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

Other differences:
------------------
++++++ kdesvn.spec ++++++
--- /var/tmp/diff_new_pack.tCsoam/_old  2025-03-20 19:27:08.082954756 +0100
+++ /var/tmp/diff_new_pack.tCsoam/_new  2025-03-20 19:27:08.082954756 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kdesvn
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,6 +23,8 @@
 License:        GPL-2.0-or-later
 URL:            https://apps.kde.org/kdesvn
 Source:         
https://download.kde.org/stable/%{name}/%{version}/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM
+Patch0:         kdesvn-cmake4.patch
 BuildRequires:  extra-cmake-modules
 BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
@@ -63,11 +65,11 @@
 kdesvn is a GUI client for subversion repositories.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
-  %cmake_kf5 -d build
-  %cmake_build
+%cmake_kf5 -d build
+%cmake_build
 
 %install
 %kf5_makeinstall -C build

++++++ kdesvn-cmake4.patch ++++++
>From c7dea95d433882d86962747b7394ae87d56ef5d5 Mon Sep 17 00:00:00 2001
From: Christophe Marin <christo...@krop.fr>
Date: Thu, 20 Mar 2025 14:01:54 +0100
Subject: [PATCH] Make kdesvn compatible with CMake 4

Required CMake versions older than 3.5 will throw errors.
---
 CMakeLists.txt | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8ff612c..f4003d7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,9 +17,17 @@
  #   Free Software Foundation, Inc.,                                       #
  #   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.         #
  ####
-project(kdesvn)
+cmake_minimum_required(VERSION 3.16)
+
+# Set the version
+set(KDESVN_VERSION_MAJOR 2)
+set(KDESVN_VERSION_MINOR 1)
+set(KDESVN_VERSION_PATCH 0)
+set(KDESVN_VERSION_STRING 
${KDESVN_VERSION_MAJOR}.${KDESVN_VERSION_MINOR}.${KDESVN_VERSION_PATCH})
+
+project(kdesvn VERSION ${KDESVN_VERSION_STRING})
+
 set(PACKAGENAME "${CMAKE_PROJECT_NAME}")
-cmake_minimum_required(VERSION 3.1.0)
 if(POLICY CMP0063)
   CMAKE_POLICY(SET CMP0063 NEW) # Honor visibility properties for all target 
types.
 endif()
@@ -57,12 +65,6 @@ find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS
     Core DBus Gui Sql Widgets Xml
 )
 
-# Set the version
-set(KDESVN_VERSION_MAJOR 2)
-set(KDESVN_VERSION_MINOR 1)
-set(KDESVN_VERSION_PATCH 0)
-set(KDESVN_VERSION_STRING 
${KDESVN_VERSION_MAJOR}.${KDESVN_VERSION_MINOR}.${KDESVN_VERSION_PATCH})
-
 # Append the git revision if available
 # If Git is installed and a '.git' directory is found,
 # we append the Git revision to KDESVN_VERSION_STRING
-- 
2.49.0

Reply via email to