Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-first for openSUSE:Factory checked in at 2025-06-18 19:29:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-first (Old) and /work/SRC/openSUSE:Factory/.python-first.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-first" Wed Jun 18 19:29:37 2025 rev:7 rq:1286222 version:2.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-first/python-first.changes 2025-03-05 13:39:37.754307483 +0100 +++ /work/SRC/openSUSE:Factory/.python-first.new.19631/python-first.changes 2025-06-18 19:29:40.044889353 +0200 @@ -1,0 +2,6 @@ +Tue Jun 17 04:14:31 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com> + +- Switch to pyproject macros. +- No more greedy globs in %files. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-first.spec ++++++ --- /var/tmp/diff_new_pack.h2fPtW/_old 2025-06-18 19:29:40.720917331 +0200 +++ /var/tmp/diff_new_pack.h2fPtW/_new 2025-06-18 19:29:40.724917496 +0200 @@ -25,8 +25,10 @@ Group: Development/Languages/Python URL: https://github.com/hynek/first/ Source: https://files.pythonhosted.org/packages/source/f/first/first-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -39,15 +41,10 @@ %setup -q -n first-%{version} %build -%python_build +%pyproject_wheel %install -%python_install -# Fix python-bytecode-inconsistent-mtime -pushd %{buildroot}%{python_sitelib} -find . -name '*.pyc' -exec rm -f '{}' ';' -popd -# +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -56,5 +53,7 @@ %files %{python_files} %doc AUTHORS.rst README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/first.py +%pycache_only %{python_sitelib}/__pycache__/first.*.pyc +%{python_sitelib}/first-%{version}.dist-info