Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package musescore for openSUSE:Factory 
checked in at 2023-03-02 23:04:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/musescore (Old)
 and      /work/SRC/openSUSE:Factory/.musescore.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "musescore"

Thu Mar  2 23:04:22 2023 rev:30 rq:1068709 version:4.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/musescore/musescore.changes      2023-01-16 
18:02:14.551938588 +0100
+++ /work/SRC/openSUSE:Factory/.musescore.new.31432/musescore.changes   
2023-03-02 23:04:45.124228166 +0100
@@ -1,0 +2,8 @@
+Thu Mar  2 08:10:25 UTC 2023 - Christophe Marin <christo...@krop.fr>
+
+- Don't package the KDDockWidgets development files. It's only
+  a third party library that cannot be used for anything.
+- Update build constraints
+- Spec cleanup
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ musescore.spec ++++++
--- /var/tmp/diff_new_pack.9hoSOK/_old  2023-03-02 23:04:48.184243452 +0100
+++ /var/tmp/diff_new_pack.9hoSOK/_new  2023-03-02 23:04:48.232243692 +0100
@@ -53,9 +53,12 @@
 BuildRequires:  gcc-c++
 BuildRequires:  libqt5-linguist-devel
 BuildRequires:  libqt5-qtbase-private-headers-devel
+%ifarch ppc64 ppc64le
+# PPC builds often have memory issues, limit the number of parallel jobs
+BuildRequires:  memory-constraints
+%endif
 BuildRequires:  pkgconfig
 BuildRequires:  strip-nondeterminism
-BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(Qt5Concurrent)
 BuildRequires:  pkgconfig(Qt5Core)
 BuildRequires:  pkgconfig(Qt5Designer)
@@ -111,14 +114,6 @@
 %description fonts
 Additional fonts for use by the MuseScore music notation program.
 
-%package devel
-Summary:        MuseScore development files
-License:        GPL-3.0-or-later WITH Font-exception-2.0 AND OFL-1.1
-Group:          Development/Libraries/C and C++
-
-%description devel
-MuseScore files, used for plugin development.
-
 %prep
 %autosetup -p1 -n MuseScore-%{version}
 cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} share/sound/
@@ -141,6 +136,11 @@
 sed -i 's/\(target_link_libraries(mscore ${LINK_LIB}\)/\1 ${CMAKE_DL_LIBS}/' 
src/main/CMakeLists.txt
 
 %build
+# Limit memory / threads on PowerPC to avoid memory issues
+%ifarch ppc64 ppc64le
+%limit_build -m 2000
+%endif
+
 %define __builddir build.release
 # TODO:
 # find out what those do:
@@ -157,13 +157,15 @@
        -DBUILD_UPDATE_MODULE:BOOL=ON \
        -DBUILD_CRASHPAD_CLIENT=OFF \
        -DMUSESCORE_REVISION=%{revision}
-%make_jobs
+%cmake_build
 
 %install
 %cmake_install
 
-# don't package staic libs
+# don't package kddockwidgets. It should not be installed
 rm %{buildroot}%{_libdir}/*.a
+rm -r %{buildroot}%{_includedir}/kddockwidgets
+rm -r %{buildroot}%{_libdir}/cmake/KDDockWidgets
 
 # install fonts
 mkdir -p %{buildroot}%{fontdir}
@@ -188,9 +190,9 @@
 install -p -m 644 demos/*.mscz 
%{buildroot}%{_datadir}/%{rname}-%{version_lesser}/demos
 
 # Remove opus devel files, they are provided by system
-rm -rf %{buildroot}%{_includedir}/opus
+rm -r %{buildroot}%{_includedir}/opus
 # Delete crashpad binary
-rm -rf %{buildroot}%{_bindir}/crashpad_handler
+rm %{buildroot}%{_bindir}/crashpad_handler
 
 # collect doc files
 install -d -m 755 %{buildroot}%docdir
@@ -216,21 +218,7 @@
 install -p -m 644 share/instruments/README.md         
%{buildroot}%docdir/README.md.instruments
 install -p -m 644 share/wallpapers/COPYRIGHT          
%{buildroot}%docdir/COPYING.wallpaper
 
-%fdupes %{buildroot}/%{_prefix}
-
-%if 0%{?suse_version} < 1500
-%post
-%desktop_database_post
-%icon_theme_cache_post
-%mime_database_post
-%endif
-
-%if 0%{?suse_version} < 1500
-%postun
-%desktop_database_postun
-%icon_theme_cache_postun
-%mime_database_postun
-%endif
+%fdupes %{buildroot}%{_prefix}
 
 %files
 %license LICENSE.GPL
@@ -263,9 +251,4 @@
 %doc fonts/leland/README.md.leland
 %license fonts/leland/LICENSE.txt.leland
 
-%files devel
-%license LICENSE.GPL
-%{_includedir}/kddockwidgets
-%{_libdir}/cmake
-
 %changelog


++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.9hoSOK/_old  2023-03-02 23:04:48.740246229 +0100
+++ /var/tmp/diff_new_pack.9hoSOK/_new  2023-03-02 23:04:48.744246250 +0100
@@ -5,5 +5,17 @@
       <size unit="G">8</size>
     </disk>
   </hardware>
+  <overwrite>
+    <conditions>
+      <arch>ppc64</arch>
+      <arch>ppc64le</arch>
+      <arch>x86_64</arch>
+    </conditions>
+    <hardware>
+      <memory>
+        <size unit="G">9</size>
+      </memory>
+    </hardware>
+  </overwrite>
 </constraints>
 

Reply via email to