Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libmsym for openSUSE:Factory checked in at 2026-04-29 19:20:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmsym (Old) and /work/SRC/openSUSE:Factory/.libmsym.new.30200 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmsym" Wed Apr 29 19:20:32 2026 rev:4 rq:1349980 version:0.2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/libmsym/libmsym.changes 2024-02-28 19:47:05.757757776 +0100 +++ /work/SRC/openSUSE:Factory/.libmsym.new.30200/libmsym.changes 2026-04-29 19:22:09.895699064 +0200 @@ -1,0 +2,7 @@ +Thu Apr 16 02:15:49 UTC 2026 - Steve Kowalik <[email protected]> + +- Use pyproject macros to build and install the Python module. +- Use fdupes on the Python module. +- Specify files and directories under sitelib explicitly. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmsym.spec ++++++ --- /var/tmp/diff_new_pack.oaYiqu/_old 2026-04-29 19:22:10.559726243 +0200 +++ /var/tmp/diff_new_pack.oaYiqu/_new 2026-04-29 19:22:10.559726243 +0200 @@ -1,7 +1,7 @@ # # spec file for package libmsym # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,8 +33,11 @@ URL: https://github.com/mcodev31/libmsym Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: %{python_module numpy} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: cmake +BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: python-rpm-macros @@ -70,6 +73,8 @@ %prep %setup -q +# Python bindings have an incorrect version +sed -i 's/0.2/%{version}/' bindings/python/setup.py %build %cmake \ @@ -77,14 +82,15 @@ -DINSTALL_CMAKE_DIR=%{_libdir}/cmake/libmsym %make_build pushd ../bindings/python -%python_build +%pyproject_wheel popd %install %cmake_install pushd bindings/python -%python_install +%pyproject_install popd +%python_expand %fdupes %{buildroot}%{$python_sitelib} %post -n %{name}%{sonum} -p /sbin/ldconfig %postun -n %{name}%{sonum} -p /sbin/ldconfig @@ -101,10 +107,14 @@ %if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150400 %files %{python_files %name} -%{python_sitelib}/* +%{python_sitelib}/libmsym.py +%pycache_only %{python_sitelib}/__pycache__/libmsym.*.pyc +%{python_sitelib}/libmsym-%{version}.dist-info %else %files %{python_files} -%{python_sitelib}/* +%{python_sitelib}/libmsym.py +%pycache_only %{python_sitelib}/__pycache__/libmsym.*.pyc +%{python_sitelib}/libmsym-%{version}.dist-info %endif
