diff --git a/python-cachetools.changes b/python-cachetools.changes index fc73346..2dece58 100644 --- a/python-cachetools.changes +++ b/python-cachetools.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jun 16 06:12:36 UTC 2025 - Steve Kowalik + +- Switch to pyroject macros. +- No more greedy globs in %files. + ------------------------------------------------------------------- Mon Feb 24 08:18:44 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-cachetools.spec b/python-cachetools.spec index e186d3b..7572c22 100644 --- a/python-cachetools.spec +++ b/python-cachetools.spec @@ -25,7 +25,9 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/tkem/cachetools Source: https://files.pythonhosted.org/packages/source/c/cachetools/cachetools-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -40,10 +42,10 @@ function decorator. %setup -q -n cachetools-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -52,6 +54,7 @@ function decorator. %files %{python_files} %license LICENSE %doc CHANGELOG.rst README.rst -%{python_sitelib}/* +%{python_sitelib}/cachetools +%{python_sitelib}/cachetools-%{version}.dist-info %changelog