diff --git a/python-cachetools.spec b/python-cachetools.spec index 3c8bd90b64c4e3d5e43c7388b238b0a7972492bd..f8f73f605677011410008c2a4c981b7a9750964f 100644 --- a/python-cachetools.spec +++ b/python-cachetools.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-cachetools Version: 6.0.0 -Release: 1 +Release: 2 Summary: Extensible memoizing collections and decorators License: MIT URL: https://github.com/tkem/cachetools/ @@ -21,6 +21,7 @@ BuildRequires: python3-setuptools BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel +BuildRequires: python3-pytest %description -n python3-cachetools This module provides various memoizing collections and decorators, including variants of the Python Standard Library's `@lru_cache`_ @@ -70,7 +71,7 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %check -%{__python3} setup.py test +%pytest %files -n python3-cachetools -f filelist.lst %dir %{python3_sitelib}/* @@ -80,6 +81,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Thu Jun 12 2025 yaoxin <1024769339@qq.com> - 6.0.0-2 +- Switch to pytest to fix build failure + * Thu May 29 2025 hexun - 6.0.0-1 - Update package to version 6.0.0