Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package fife for openSUSE:Factory checked in 
at 2026-10-29 16:06:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fife (Old)
 and      /work/SRC/openSUSE:Factory/.fife.new.1255 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fife"

Thu Oct 29 16:06:40 2026 rev:11 rq:1393494 version:0.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/fife/fife.changes        2025-09-26 
22:27:22.001206284 +0200
+++ /work/SRC/openSUSE:Factory/.fife.new.1255/fife.changes      2026-10-29 
16:10:33.868690490 +0100
@@ -1,0 +2,23 @@
+Sun Oct 18 09:19:08 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to version 0.4.3 (upstream snapshot release with minor
+  fixes only):
+  * Raise cmake_minimum_required to 3.15, fixing the build with
+    current CMake
+  * Remove Python 2 compatibility remnants
+  * Drop upstream-adopted patches: swig4.patch (unsupported SWIG
+    flags removed in-tree) and fife-boost_1_77.patch (missing
+    <algorithm> include fixed upstream)
+- Keep fife-boost_1_85.patch: bfs::extension uses are still present
+  upstream
+- Add fife-cmake-cmp0078.patch: keep legacy swig_add_library target
+  names, fixing the configure failure with current CMake
+- Link against legacy libGL (OpenGL_GL_PREFERENCE=LEGACY):
+  renderbackendopengl.cpp uses fixed-function entry points absent
+  from libOpenGL
+- Add BuildRequires: make for the %make_build call
+- Spec cleanup (spec-cleaner: drop Group tags, https URL,
+  %make_build; name patches in tags, list only the shipped
+  python3 dir)
+
+-------------------------------------------------------------------

Old:
----
  fife-boost_1_77.patch
  fifengine-0.4.2.tar.gz
  swig4.patch

New:
----
  fife-cmake-cmp0078.patch
  fifengine-0.4.3.tar.gz

----------(Old B)----------
  Old:  * Drop upstream-adopted patches: swig4.patch (unsupported SWIG
    flags removed in-tree) and fife-boost_1_77.patch (missing
    <algorithm> include fixed upstream)
  Old:  * Remove Python 2 compatibility remnants
  * Drop upstream-adopted patches: swig4.patch (unsupported SWIG
    flags removed in-tree) and fife-boost_1_77.patch (missing
----------(Old E)----------

----------(New B)----------
  New:  upstream
- Add fife-cmake-cmp0078.patch: keep legacy swig_add_library target
  names, fixing the configure failure with current CMake
----------(New E)----------

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

Other differences:
------------------
++++++ fife.spec ++++++
--- /var/tmp/diff_new_pack.V3zueE/_old  2026-10-29 16:10:34.851731716 +0100
+++ /var/tmp/diff_new_pack.V3zueE/_new  2026-10-29 16:10:34.853731800 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package fife
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
 # Copyright (c) 2011 Nelson Marques <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -20,24 +20,25 @@
 %define sover 0_4_2
 %define oname fifengine
 Name:           fife
-Version:        0.4.2
+Version:        0.4.3
 Release:        0
 Summary:        The Flexible Isometric Free Engine, a 2D game engine
 License:        LGPL-2.1-or-later
-Group:          Amusements/Games/Other
-URL:            http://www.fifengine.de
+URL:            https://www.fifengine.de
 Source:         
https://github.com/fifengine/fifengine/archive/%{version}/%{oname}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM swig4.patch -- removed flags that are not supported with 
swig 4.0
-# See 
https://github.com/fifengine/fifengine/commit/d14f232f4cd9a00b05d6872957070e8c020f515d
-Patch0:         swig4.patch
-# PATCH-FIX-UPSTREAM
-Patch1:         fife-boost_1_77.patch
-# PATCH-FIX-UPSTREAM https://github.com/fifengine/fifengine/issues/1085
-Patch2:         fife-boost_1_85.patch
+# PATCH-FIX-UPSTREAM fife-boost_1_85.patch -- 
https://github.com/fifengine/fifengine/issues/1085
+Patch0:         fife-boost_1_85.patch
+# PATCH-FIX-OPENSUSE fife-cmake-cmp0078.patch -- keep legacy
+# swig_add_library target names (_fife, _fifechan): CMP0078 NEW (default
+# since this release raised cmake_minimum_required to 3.15) names the
+# module target <name>, which collides with the core add_library(fife)
+# and breaks install(TARGETS _fife)
+Patch1:         fife-cmake-cmp0078.patch
 BuildRequires:  cmake
 BuildRequires:  fifechan-devel
 BuildRequires:  gcc-c++
 BuildRequires:  libpng-devel
+BuildRequires:  make
 BuildRequires:  pkgconfig
 BuildRequires:  swig
 BuildRequires:  tinyxml-devel
@@ -69,7 +70,6 @@
 
 %package -n libfife%{sover}
 Summary:        The Flexible Isometric Free Engine, a 2D game engine
-Group:          System/Libraries
 
 %description -n libfife%{sover}
 FIFE stands for Flexible Isometric Free Engine and is a cross platform
@@ -78,7 +78,6 @@
 
 %package -n python3-%{name}
 Summary:        Python 3 extensions for the FIFE engine
-Group:          Amusements/Games/Other
 Requires:       python3
 
 %description -n python3-%{name}
@@ -88,7 +87,6 @@
 
 %package devel
 Summary:        Development files for the FIFE 2D game engine
-Group:          Development/Libraries/Other
 Requires:       libfife%{sover} = %{version}
 Requires:       python3-fife = %{version}
 
@@ -99,16 +97,15 @@
 
 %prep
 %setup -q -n %{oname}-%{version}
-# only apply the patch if swig 4 is used (currently: Tumbleweed and Leap 15.6)
-%if 0%{?suse_version} > 1500 || (0%{?suse_version} == 1500 && 0%{?sle_version} 
> 150500)
 %patch -P 0 -p1
-%endif
 %patch -P 1 -p1
-%patch -P 2 -p1
 
 %build
 %define __builddir py3
+# renderbackendopengl.cpp uses legacy fixed-function entry points
+# (glColorPointer/glTexCoordPointer), only in libGL, not libOpenGL
 %cmake \
+    -DOpenGL_GL_PREFERENCE=LEGACY \
     -Dbuild-library=ON \
     -Drend-camzone=ON \
     -Drend-grid=ON \
@@ -116,7 +113,7 @@
     -Dbuild-python=ON \
     -DPYTHON_SITE_PACKAGES=%{python3_sitearch} \
     -DCMAKE_CXX_FLAGS='-DUSE_BOOST_FILESYSTEM_V3'
-make VERBOSE=1 %{?_smp_mflags}
+%make_build
 cd ..
 
 %install
@@ -142,7 +139,9 @@
 %{_libdir}/*.so.*
 
 %files -n python3-%{name}
-%{python3_sitearch}/*
+# Only the fife dir is installed (no egg-info/dist-info); an extra
+# files glob matching nothing would fail the build
+%{python3_sitearch}/fife
 
 %files devel
 %doc CHANGELOG.md README.md

++++++ fife-cmake-cmp0078.patch ++++++
diff -urN fifengine-0.4.3.orig/CMakeLists.txt fifengine-0.4.3/CMakeLists.txt
--- fifengine-0.4.3.orig/CMakeLists.txt 2026-10-18 11:49:23.209716229 +0200
+++ fifengine-0.4.3/CMakeLists.txt      2026-10-18 11:49:23.461744469 +0200
@@ -6,6 +6,16 @@
 
 project(fifengine C CXX)
 
+# swig_add_library() names its target <name> with policy CMP0078 NEW
+# (the default with this cmake_minimum_required), colliding with the
+# core add_library(fife) below and breaking install(TARGETS _fife).
+# Keep the legacy _fife/_fifechan target names this build expects.
+# NOTE: this must precede include(${SWIG_USE_FILE}); function definitions
+# snapshot the policy state at parse time, so a later SET has no effect.
+if(POLICY CMP0078)
+  cmake_policy(SET CMP0078 OLD)
+endif()
+
 #------------------------------------------------------------------------------
 #                                 Version                                      
    
 #------------------------------------------------------------------------------

++++++ fifengine-0.4.2.tar.gz -> fifengine-0.4.3.tar.gz ++++++
/work/SRC/openSUSE:Factory/fife/fifengine-0.4.2.tar.gz 
/work/SRC/openSUSE:Factory/.fife.new.1255/fifengine-0.4.3.tar.gz differ: char 
13, line 1

Reply via email to