Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nml for openSUSE:Factory checked in at 2025-10-28 14:49:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nml (Old) and /work/SRC/openSUSE:Factory/.nml.new.1980 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nml" Tue Oct 28 14:49:11 2025 rev:29 rq:1314026 version:0.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/nml/nml.changes 2025-06-23 15:07:09.810466021 +0200 +++ /work/SRC/openSUSE:Factory/.nml.new.1980/nml.changes 2025-10-28 14:50:12.036109174 +0100 @@ -1,0 +2,7 @@ +Tue Oct 28 01:45:20 UTC 2025 - Steve Kowalik <[email protected]> + +- Use pyproject macros to build and install. +- Add in fdupes +- List files and directories under python3_sitearch explicitly. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nml.spec ++++++ --- /var/tmp/diff_new_pack.7fiw6q/_old 2025-10-28 14:50:12.660135419 +0100 +++ /var/tmp/diff_new_pack.7fiw6q/_new 2025-10-28 14:50:12.668135754 +0100 @@ -1,7 +1,7 @@ # # spec file for package nml # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 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 @@ -24,9 +24,12 @@ Group: Development/Tools/Building URL: http://dev.openttdcoop.org/projects/nml Source: https://github.com/OpenTTD/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz +BuildRequires: fdupes BuildRequires: gcc BuildRequires: python3-devel +BuildRequires: python3-pip BuildRequires: python3-setuptools +BuildRequires: python3-wheel # We need the required packages also on building for regression tests: BuildRequires: python3-Pillow >= 3.4 BuildRequires: python3-ply @@ -41,13 +44,17 @@ %autosetup -p1 -n %{name}-%{version} %build -make extensions +%python3_pyproject_wheel %check -PYTHONDONTWRITEBYTECODE=1 make -C regression +export PYTHONDONTWRITEBYTECODE=1 +export PYTHONPATH=%{buildroot}%{python3_sitearch} +make -C regression %install -python3 setup.py install --skip-build --root=%{buildroot} --prefix=%{_prefix} +%python3_pyproject_install +%fdupes %{buildroot}%{python3_sitearch} +%fdupes %{buildroot}%{python3_sitelib} install -D -m0644 docs/nmlc.1 %{buildroot}%{_mandir}/man1/nmlc.1 @@ -67,6 +74,8 @@ %doc docs/*.txt %{_bindir}/nmlc %{_mandir}/man1/nmlc.1* -%{python3_sitearch}/* -%{python3_sitelib}/%{name}/ +%{python3_sitelib}/%{name} +%{python3_sitearch}/%{name} +%{python3_sitearch}/nml_lz77.cpython-*-linux-gnu.so +%{python3_sitearch}/%{name}-%{version}.dist-info
