Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package surgescript for openSUSE:Factory checked in at 2025-03-24 13:29:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/surgescript (Old) and /work/SRC/openSUSE:Factory/.surgescript.new.2696 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "surgescript" Mon Mar 24 13:29:34 2025 rev:7 rq:1255210 version:0.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/surgescript/surgescript.changes 2024-09-03 13:39:27.543556208 +0200 +++ /work/SRC/openSUSE:Factory/.surgescript.new.2696/surgescript.changes 2025-03-24 13:29:45.093563364 +0100 @@ -1,0 +2,6 @@ +Sat Mar 22 01:46:37 UTC 2025 - Shawn Dunn <sfal...@opensuse.org> + +- Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS with cmake4 +- Add %check section + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ surgescript.spec ++++++ --- /var/tmp/diff_new_pack.BmdL2W/_old 2025-03-24 13:29:45.801593087 +0100 +++ /var/tmp/diff_new_pack.BmdL2W/_new 2025-03-24 13:29:45.805593255 +0100 @@ -1,7 +1,7 @@ # # spec file for package surgescript # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # Copyright (c) 2020 Artur Iwicki <fed...@svgames.pl> # # All modifications and additions to the file contributed by third parties @@ -25,7 +25,7 @@ License: Apache-2.0 URL: https://opensurge2d.org Source0: https://github.com/alemart/surgescript/archive/v%{version}/%{name}-%{version}.tar.gz -BuildRequires: cmake +BuildRequires: cmake >= 3.5 BuildRequires: pkgconfig %if 0%{?sle_version} >= 150500 && 0%{?sle_version} < 160000 && 0%{?is_opensuse} BuildRequires: gcc12 @@ -84,12 +84,16 @@ %cmake \ -DWANT_SHARED=YES \ -DWANT_STATIC=NO \ - -DWANT_EXECUTABLE=YES + -DWANT_EXECUTABLE=YES \ + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 %cmake_build %install %cmake_install +%check +%ctest + %post -n lib%{name}%{_sover} -p /sbin/ldconfig %postun -n lib%{name}%{_sover} -p /sbin/ldconfig