!8 Upgrade package version for OpenStack Wallaby support

From: @sean-lau
Reviewed-by: @huangtianhua
Signed-off-by:
This commit is contained in:
openeuler-ci-bot 2021-08-03 08:58:39 +00:00 committed by Gitee
commit 9d4b304cc6
3 changed files with 32 additions and 21 deletions

Binary file not shown.

BIN
cachetools-4.2.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,13 +1,12 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-cachetools Name: python-cachetools
Version: 4.1.1 Version: 4.2.1
Release: 1 Release: 1
Summary: Extensible memoizing collections and decorators Summary: Extensible memoizing collections and decorators
License: MIT License: MIT
URL: https://github.com/tkem/cachetools/ URL: https://github.com/tkem/cachetools/
Source0: https://files.pythonhosted.org/packages/fc/c8/0b52cf3132b4b85c9e83faa3e4d375575afeb3a1710c40b2b2cd2a3e5635/cachetools-4.1.1.tar.gz Source0: https://files.pythonhosted.org/packages/74/17/5735dd9f015f03d2d928ea108f3c02075b784ceed05d32a98e7e44ddd114/cachetools-4.2.1.tar.gz
BuildArch: noarch BuildArch: noarch
%description %description
This module provides various memoizing collections and decorators, This module provides various memoizing collections and decorators,
including variants of the Python Standard Library's `@lru_cache`_ including variants of the Python Standard Library's `@lru_cache`_
@ -16,15 +15,19 @@ function decorator.
%package -n python3-cachetools %package -n python3-cachetools
Summary: Extensible memoizing collections and decorators Summary: Extensible memoizing collections and decorators
Provides: python-cachetools Provides: python-cachetools
# Base build requires
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
%description -n python3-cachetools %description -n python3-cachetools
This module provides various memoizing collections and decorators, This module provides various memoizing collections and decorators,
including variants of the Python Standard Library's `@lru_cache`_ including variants of the Python Standard Library's `@lru_cache`_
function decorator. function decorator.
%package help %package help
Summary: Development documents and examples for cachetools Summary: Extensible memoizing collections and decorators
Provides: python3-cachetools-doc Provides: python3-cachetools-doc
%description help %description help
This module provides various memoizing collections and decorators, This module provides various memoizing collections and decorators,
@ -32,11 +35,12 @@ including variants of the Python Standard Library's `@lru_cache`_
function decorator. function decorator.
%prep %prep
%autosetup -n cachetools-%{version} %autosetup -n cachetools-4.2.1
%build %build
%py3_build %py3_build
%install %install
%py3_install %py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir} install -d -m755 %{buildroot}/%{_pkgdocdir}
@ -65,12 +69,19 @@ popd
mv %{buildroot}/filelist.lst . mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst . mv %{buildroot}/doclist.lst .
%check
%{__python3} setup.py test
%files -n python3-cachetools -f filelist.lst %files -n python3-cachetools -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
%files help -f doclist.lst %files help -f doclist.lst
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Tue Jul 13 2021 OpenStack_SIG <openstack@openeuler.org> - 4.2.1-1
- Upgrade to version 4.2.1
* Fri Oct 09 2020 Python_Bot <Python_Bot@openeuler.org> * Fri Oct 09 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated - Package Spec generated