Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ogre for openSUSE:Factory checked in 
at 2023-06-05 18:08:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ogre (Old)
 and      /work/SRC/openSUSE:Factory/.ogre.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ogre"

Mon Jun  5 18:08:15 2023 rev:11 rq:1090909 version:13.5.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/ogre/ogre.changes        2022-11-25 
15:47:06.632510390 +0100
+++ /work/SRC/openSUSE:Factory/.ogre.new.15902/ogre.changes     2023-06-05 
18:08:29.319800147 +0200
@@ -1,0 +2,5 @@
+Mon Jun  5 09:36:55 UTC 2023 - Andreas Schwab <[email protected]>
+
+- Add option to build without mono bindings
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ ogre.spec ++++++
--- /var/tmp/diff_new_pack.IrnPdL/_old  2023-06-05 18:08:30.335806147 +0200
+++ /var/tmp/diff_new_pack.IrnPdL/_new  2023-06-05 18:08:30.339806171 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ogre
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,6 +28,8 @@
 %bcond_with cg
 # OpenEXR v3 is incompatible https://github.com/OGRECave/ogre/issues/2179
 %bcond_with openexr
+# Optionally build without mono bindings
+%bcond_without mono
 Name:           ogre
 Version:        %{major}.%{minor}.%{third}
 Release:        0
@@ -58,7 +60,9 @@
 BuildRequires:  swig
 BuildRequires:  cmake(SPIRV-Tools)
 BuildRequires:  cmake(assimp)
+%if %{with mono}
 BuildRequires:  mono(mcs)
+%endif
 BuildRequires:  pkgconfig(Qt5Core)
 BuildRequires:  pkgconfig(Qt5Gui)
 BuildRequires:  pkgconfig(freetype2)
@@ -486,6 +490,9 @@
 
 %install
 %cmake_install
+%if %{without mono}
+rm %{buildroot}%{_includedir}/OGRE/Ogre.i
+%endif
 mkdir -p "%{buildroot}%{_docdir}"
 mv "%{buildroot}%{_datadir}/doc/OGRE" "%{buildroot}%{_docdir}/OGRE"
 # Install samples' source
@@ -548,12 +555,14 @@
 %{_datadir}/OGRE/Media/RTShaderLib
 %{_datadir}/OGRE/Media/Terrain/
 
+%if %{with mono}
 %files mono
 %{_includedir}/OGRE/Ogre.i
 %dir %{_prefix}/lib/cli
 %dir %{_prefix}/lib/cli/ogre-sharp-%{version}
 %{_prefix}/lib/cli/ogre-sharp-%{version}/Ogre.dll
 %{_prefix}/lib/cli/ogre-sharp-%{version}/libOgre.so
+%endif
 
 %files python
 %{python3_sitelib}/Ogre

Reply via email to