Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package meson for openSUSE:Factory checked 
in at 2026-03-27 16:49:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/meson (Old)
 and      /work/SRC/openSUSE:Factory/.meson.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "meson"

Fri Mar 27 16:49:23 2026 rev:140 rq:1342550 version:1.10.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/meson/meson.changes      2026-03-17 
19:01:51.390124935 +0100
+++ /work/SRC/openSUSE:Factory/.meson.new.8177/meson.changes    2026-03-27 
16:50:16.665375014 +0100
@@ -1,0 +2,6 @@
+Mon Mar 23 01:50:41 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject macros for building and installing, using a venv
+  to avoid pip.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ meson.spec ++++++
--- /var/tmp/diff_new_pack.fD1QUt/_old  2026-03-27 16:50:18.965471070 +0100
+++ /var/tmp/diff_new_pack.fD1QUt/_new  2026-03-27 16:50:18.981471739 +0100
@@ -207,7 +207,12 @@
 
 %build
 %if %{without test}
-%python_build
+%{python_expand # bootstrap with built-in pip
+$python -m venv build/env
+build/env/bin/python -m ensurepip
+export PYTHONPATH=build/env/lib/python%{$python_bin_suffix}/site-packages
+%{$python_pyproject_wheel}
+}
 %else
 # Ensure we have no mesonbuild / meson in CWD, thus guaranteeing we use meson 
in $PATH
 rm -r meson.py mesonbuild
@@ -216,7 +221,11 @@
 %install
 # If this is the test suite, we don't need anything else but the meson package
 %if %{without test}
-%python_install
+%{python_expand # use pip bootstrapped above
+export PYTHONPATH=build/env/lib/python%{$python_bin_suffix}/site-packages
+%{$python_pyproject_install}
+%fdupes %{buildroot}%{$python_sitelib}
+}
 
 install -Dpm 0644 data/macros.meson \
   %{buildroot}%{_rpmconfigdir}/macros.d/macros.meson
@@ -266,7 +275,7 @@
 %if !%{with test}
 %{_bindir}/meson
 %{python_sitelib}/%{_name}/
-%{python_sitelib}/meson-*
+%{python_sitelib}/meson-%{version}.dist-info
 %dir %{_datadir}/polkit-1/
 %dir %{_datadir}/polkit-1/actions/
 %{_datadir}/polkit-1/actions/com.mesonbuild.install.policy

Reply via email to