Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package frescobaldi for openSUSE:Factory checked in at 2024-02-01 18:06:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/frescobaldi (Old) and /work/SRC/openSUSE:Factory/.frescobaldi.new.1815 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "frescobaldi" Thu Feb 1 18:06:16 2024 rev:26 rq:1143344 version:3.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/frescobaldi/frescobaldi.changes 2023-06-17 22:21:38.600017544 +0200 +++ /work/SRC/openSUSE:Factory/.frescobaldi.new.1815/frescobaldi.changes 2024-02-01 18:07:18.875286452 +0100 @@ -1,0 +2,7 @@ +Thu Feb 1 09:22:31 UTC 2024 - Ben Greiner <[email protected]> + +- Switch to SLE15 python module: Python 3.6 is not supported by + python-ly anymore +- Move to PEP517 install macros + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ frescobaldi.spec ++++++ --- /var/tmp/diff_new_pack.TsjMRb/_old 2024-02-01 18:07:19.631314026 +0100 +++ /var/tmp/diff_new_pack.TsjMRb/_new 2024-02-01 18:07:19.631314026 +0100 @@ -1,7 +1,7 @@ # # spec file for package frescobaldi # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,6 +17,9 @@ ExcludeArch: i586 +%{?sle15_python_module_pythons}%{?!sle15_python_module_pythons:%define pythons python3} +%define mypython %{pythons} +%global mypython_sitelib %{expand:%%%{mypython}_sitelib} Name: frescobaldi Summary: Lilypond editor @@ -27,20 +30,24 @@ URL: http://www.frescobaldi.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: https://github.com/frescobaldi/frescobaldi/archive/v%{version}/%{name}-%{version}.tar.gz +BuildRequires: %mypython-ly +BuildRequires: %mypython-pip +BuildRequires: %mypython-setuptools +BuildRequires: %mypython-wheel BuildRequires: appstream-glib-devel +BuildRequires: fdupes BuildRequires: hicolor-icon-theme -BuildRequires: python3-devel -BuildRequires: python3-ly +BuildRequires: python-rpm-macros BuildRequires: update-desktop-files +Requires: %mypython-ly +Requires: %mypython-poppler-qt5 +Requires: %mypython-qpageview +Requires: %mypython-qt5 +Requires: %mypython-qt5-sip +Requires: %mypython-qtwebengine-qt5 Requires: lilypond -Requires: python3-ly -Requires: python3-poppler-qt5 -Requires: python3-qpageview -Requires: python3-qt5 -Requires: python3-qt5-sip -Requires: python3-qtwebengine-qt5 +Recommends: %mypython-pycups Recommends: libportmidi2 -Recommends: python3-pycups BuildArch: noarch %description @@ -54,20 +61,21 @@ %prep %setup -q +rm setup.cfg +sed -i '1{/env python/d}' frescobaldi_app/language_names/generate.py frescobaldi_app/unicode_blocks.py %build rm -rf %{name}_app/icons/Tango -rm setup.cfg -python3 setup.py build make -C i18n make -C linux +%pyproject_wheel %install -python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} +%pyproject_install %suse_update_desktop_file org.frescobaldi.Frescobaldi AudioVideo Music +%fdupes %{buildroot}%{mypython_sitelib} %files -%defattr (-,root,root) %doc README.md THANKS CHANGELOG.md %license COPYING %doc %{_mandir}/man1/frescobaldi* @@ -75,5 +83,6 @@ %{_datadir}/applications/org.frescobaldi.Frescobaldi.desktop %{_datadir}/icons/hicolor/scalable/apps/org.frescobaldi.Frescobaldi.svg %{_datadir}/metainfo/org.frescobaldi.Frescobaldi.metainfo.xml -%{python3_sitelib}/* +%{mypython_sitelib}/frescobaldi_app +%{mypython_sitelib}/frescobaldi-%{version}.dist-info
