Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xkb-switch for openSUSE:Factory 
checked in at 2025-03-27 22:33:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xkb-switch (Old)
 and      /work/SRC/openSUSE:Factory/.xkb-switch.new.2696 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xkb-switch"

Thu Mar 27 22:33:23 2025 rev:3 rq:1256430 version:1.8.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/xkb-switch/xkb-switch.changes    2021-03-18 
22:54:53.467527632 +0100
+++ /work/SRC/openSUSE:Factory/.xkb-switch.new.2696/xkb-switch.changes  
2025-03-27 22:33:52.900531191 +0100
@@ -1,0 +2,6 @@
+Fri Mar 21 22:48:50 UTC 2025 - Shawn Dunn <sfal...@opensuse.org>
+
+- Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS with cmake4
+- Add %check section
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ xkb-switch.spec ++++++
--- /var/tmp/diff_new_pack.xxdcl4/_old  2025-03-27 22:33:53.396551723 +0100
+++ /var/tmp/diff_new_pack.xxdcl4/_new  2025-03-27 22:33:53.396551723 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xkb-switch
 #
-# Copyright (c) 2021 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
@@ -24,7 +24,7 @@
 Group:          System/X11/Utilities
 URL:            https://github.com/grwlf/xkb-switch
 Source:         https://github.com/grwlf/xkb-switch/archive/%{version}.tar.gz
-BuildRequires:  cmake
+BuildRequires:  cmake >= 3.5
 BuildRequires:  gcc-c++
 BuildRequires:  libxkbfile-devel
 
@@ -35,7 +35,7 @@
 %setup -q
 
 %build
-%cmake
+%cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5
 %cmake_build
 
 %install
@@ -47,6 +47,9 @@
 rm -f %{buildroot}%{_libdir}/libxkbswitch.so
 mv %{buildroot}%{_mandir}/man1/xkb-switch.1.gzip 
%{buildroot}%{_mandir}/man1/xkb-switch.1.gz
 
+%check
+%ctest
+
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig

Reply via email to