diff --git a/oslo.cache-1.26.0.tar.gz b/oslo.cache-1.26.0.tar.gz new file mode 100644 index 0000000..ffa5da9 Binary files /dev/null and b/oslo.cache-1.26.0.tar.gz differ diff --git a/oslo.cache-2.7.0.tar.gz b/oslo.cache-2.7.0.tar.gz deleted file mode 100644 index 4716bda..0000000 Binary files a/oslo.cache-2.7.0.tar.gz and /dev/null differ diff --git a/python-oslo.cache.spec b/python-oslo-cache.spec similarity index 73% rename from python-oslo.cache.spec rename to python-oslo-cache.spec index bea9958..267ac67 100644 --- a/python-oslo.cache.spec +++ b/python-oslo-cache.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-oslo-cache -Version: 2.7.0 +Version: 1.26.0 Release: 1 Summary: Cache storage for OpenStack projects. License: Apache-2.0 URL: https://docs.openstack.org/oslo.cache/latest -Source0: https://files.pythonhosted.org/packages/85/18/1130e00c9d7045fae5996b68a01c7c4c557bf94d8d6a285e4b4ce42295ee/oslo.cache-2.7.0.tar.gz +Source0: https://files.pythonhosted.org/packages/4d/2f/cdffebc36a576f40cf06cdf7e1d4d720cfa4c46289eaa4bd30841d49103b/oslo.cache-1.26.0.tar.gz BuildArch: noarch %description oslo.cache aims to provide a generic caching mechanism for OpenStack projects by @@ -22,6 +22,7 @@ BuildRequires: python3-pip BuildRequires: python3-wheel # General requires BuildRequires: python3-dogpile-cache +BuildRequires: python3-six BuildRequires: python3-oslo-config BuildRequires: python3-oslo-i18n BuildRequires: python3-oslo-log @@ -31,6 +32,7 @@ BuildRequires: python3-etcd3gw BuildRequires: python3-pymongo # General requires Requires: python3-dogpile-cache +Requires: python3-six Requires: python3-oslo-config Requires: python3-oslo-i18n Requires: python3-oslo-log @@ -38,18 +40,6 @@ Requires: python3-oslo-utils Requires: python3-memcached Requires: python3-etcd3gw Requires: python3-pymongo -# Tests running requires -Requires: python3-bandit -Requires: python3-etcd3gw -Requires: python3-hacking -Requires: python3-oslotest -Requires: python3-pifpaf -Requires: python3-pre-commit -Requires: python3-pymemcache -Requires: python3-pymongo -Requires: python3-binary-memcached -Requires: python3-memcached -Requires: python3-stestr %description -n python3-oslo-cache oslo.cache aims to provide a generic caching mechanism for OpenStack projects by wrapping the dogpile. @@ -62,14 +52,14 @@ oslo.cache aims to provide a generic caching mechanism for OpenStack projects by wrapping the dogpile. %prep -%autosetup -n oslo.cache-2.7.0 +%autosetup -n oslo.cache-%{version} %build %py3_build - %install %py3_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 @@ -96,22 +86,14 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -# bandit doesn't satisfy the requirements. Skip check now. -#%check -#%{__python3} setup.py test %files -n python3-oslo-cache -f filelist.lst %dir %{python3_sitelib}/* - %files help -f doclist.lst %{_docdir}/* %changelog -* Mon Jul 12 2021 OpenStack_SIG - 2.7.0-1 -- Upgrade version -* Fri Jan 22 2021 zhangy1317 -- Add BuildRequires python3-pbr and python3-pip -* Fri Nov 20 2020 Python_Bot -- Package Spec generated +* Wed Nov 10 2021 OpenStack_SIG - 1.26.0-1 +- Init package python3-oslo-cache with version 1.26.0 to support Train