Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-whichcraft for openSUSE:Factory checked in at 2025-06-13 18:45:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-whichcraft (Old) and /work/SRC/openSUSE:Factory/.python-whichcraft.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-whichcraft" Fri Jun 13 18:45:08 2025 rev:8 rq:1285283 version:0.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-whichcraft/python-whichcraft.changes 2023-05-10 16:19:56.519477813 +0200 +++ /work/SRC/openSUSE:Factory/.python-whichcraft.new.19631/python-whichcraft.changes 2025-06-13 18:45:28.018868715 +0200 @@ -1,0 +2,6 @@ +Fri Jun 13 02:44:26 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com> + +- Switch to pyproject macros. +- No more greedy globs in %files. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-whichcraft.spec ++++++ --- /var/tmp/diff_new_pack.GRpu2y/_old 2025-06-13 18:45:29.966948343 +0200 +++ /var/tmp/diff_new_pack.GRpu2y/_new 2025-06-13 18:45:29.998949652 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-whichcraft # -# 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 @@ -22,10 +22,11 @@ Release: 0 Summary: Cross-python shutil.which functionality License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/pydanny/whichcraft Source: https://files.pythonhosted.org/packages/source/w/whichcraft/whichcraft-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -44,10 +45,10 @@ %setup -q -n whichcraft-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -56,5 +57,7 @@ %files %{python_files} %license LICENSE %doc AUTHORS.rst HISTORY.rst README.rst -%{python_sitelib}/* +%{python_sitelib}/whichcraft.py +%pycache_only %{python_sitelib}/__pycache__/whichcraft.*.pyc +%{python_sitelib}/whichcraft-%{version}.dist-info