15
0

Accepting request 1285948 from devel:languages:python

- Switch to pyroject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/request/show/1285948
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cachetools?expand=0&rev=25
This commit is contained in:
2025-06-17 16:20:17 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jun 16 06:12:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyroject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Mon Feb 24 08:18:44 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -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