Init package oslo.cache of version 1.26.0

This commit is contained in:
huangtianhua 2021-11-10 15:19:10 +08:00
parent 9d2ee415e8
commit 3643057413
3 changed files with 8 additions and 26 deletions

BIN
oslo.cache-1.26.0.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -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 <openstack@openeuler.org> - 2.7.0-1
- Upgrade version
* Fri Jan 22 2021 zhangy1317 <zhangy1317@foxmail.com>
- Add BuildRequires python3-pbr and python3-pip
* Fri Nov 20 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated
* Wed Nov 10 2021 OpenStack_SIG <openstack@openeuler.org> - 1.26.0-1
- Init package python3-oslo-cache with version 1.26.0 to support Train