Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libpfm for openSUSE:Factory checked in at 2025-07-17 17:17:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libpfm (Old) and /work/SRC/openSUSE:Factory/.libpfm.new.8875 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libpfm" Thu Jul 17 17:17:18 2025 rev:31 rq:1293224 version:4.13.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libpfm/libpfm.changes 2023-05-06 22:08:57.500638790 +0200 +++ /work/SRC/openSUSE:Factory/.libpfm.new.8875/libpfm.changes 2025-07-17 17:17:44.409193747 +0200 @@ -1,0 +2,5 @@ +Fri Jul 11 05:12:04 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com> + +- Use pyproject macros to build and install. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libpfm.spec ++++++ --- /var/tmp/diff_new_pack.Z9YwBy/_old 2025-07-17 17:17:45.285230179 +0200 +++ /var/tmp/diff_new_pack.Z9YwBy/_new 2025-07-17 17:17:45.289230345 +0200 @@ -1,7 +1,7 @@ # # spec file for package libpfm # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,6 @@ %global python_config CONFIG_PFMLIB_NOPYTHON=y -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define vname libpfm4 %bcond_without python2 Name: libpfm @@ -31,7 +30,9 @@ Source1: baselibs.conf BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros BuildRequires: swig >= 2.0.5 @@ -123,7 +124,7 @@ make %{?_smp_mflags} %{python_config} pushd python -%python_build +%pyproject_wheel popd %install @@ -142,7 +143,7 @@ %{buildroot}/%{_bindir}/evt2raw pushd python -%python_install +%pyproject_install popd %post -n %{vname} -p /sbin/ldconfig @@ -166,7 +167,7 @@ %files %{python_files %{name}} %{python_sitearch}/perfmon -%{python_sitearch}/perfmon-*-info +%{python_sitearch}/perfmon-*.dist-info %if %{with python2} && ! 0%{?python_subpackage_only} %files -n python2-%{name}