diff --git a/cachetools-2.0.1.tar.gz b/cachetools-2.0.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..bc1922044fcb74c0ac3c83463cb704670c9f9222 Binary files /dev/null and b/cachetools-2.0.1.tar.gz differ diff --git a/cachetools-4.1.1.tar.gz b/cachetools-4.1.1.tar.gz deleted file mode 100644 index bc068f940856ce74e714d7847a3564550a063bbe..0000000000000000000000000000000000000000 Binary files a/cachetools-4.1.1.tar.gz and /dev/null differ diff --git a/python-cachetools.spec b/python-cachetools.spec index 31025dd3c49b693bd2fb77dbccc20f44355ee7a9..79a602df9b98e1a59544a4d66d06f32d0dfe6726 100644 --- a/python-cachetools.spec +++ b/python-cachetools.spec @@ -1,44 +1,40 @@ %global _empty_manifest_terminate_build 0 Name: python-cachetools -Version: 4.1.1 -Release: 1 +Version: 2.0.1 +Release: 2 Summary: Extensible memoizing collections and decorators License: MIT -URL: https://github.com/tkem/cachetools/ -Source0: https://files.pythonhosted.org/packages/fc/c8/0b52cf3132b4b85c9e83faa3e4d375575afeb3a1710c40b2b2cd2a3e5635/cachetools-4.1.1.tar.gz +URL: https://github.com/tkem/cachetools +Source0: https://files.pythonhosted.org/packages/54/e4/ddaa319bf53f04cda4ef99201de1c402871151b6edefe631bd426dc621a3/cachetools-2.0.1.tar.gz BuildArch: noarch - %description -This module provides various memoizing collections and decorators, -including variants of the Python Standard Library's `@lru_cache`_ -function decorator. +Extensible memoizing collections and decorators + -%package -n python3-cachetools +%package -n python2-cachetools Summary: Extensible memoizing collections and decorators -Provides: python-cachetools -BuildRequires: python3-devel -BuildRequires: python3-setuptools -%description -n python3-cachetools -This module provides various memoizing collections and decorators, -including variants of the Python Standard Library's `@lru_cache`_ -function decorator. +Provides: python2-cachetools +BuildRequires: python2-devel +BuildRequires: python2-setuptools +%description -n python2-cachetools +Extensible memoizing collections and decorators + %package help Summary: Development documents and examples for cachetools -Provides: python3-cachetools-doc +Provides: python2-cachetools-doc %description help -This module provides various memoizing collections and decorators, -including variants of the Python Standard Library's `@lru_cache`_ -function decorator. +Extensible memoizing collections and decorators + %prep -%autosetup -n cachetools-%{version} +%autosetup -n cachetools-2.0.1 %build -%py3_build +%py2_build %install -%py3_install +%py2_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -65,12 +61,14 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-cachetools -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python2-cachetools -f filelist.lst +%{python2_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog -* Fri Oct 09 2020 Python_Bot +* Sun May 23 2021 openstack-sig +- Fix Provides +* Mon May 10 2021 openstack-sig - Package Spec generated