!7 Upgrade to latest release [python-limits -> 3.4.0]
From: @wubijie123 Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
2199aab91d
Binary file not shown.
BIN
limits-3.4.0.tar.gz
Normal file
BIN
limits-3.4.0.tar.gz
Normal file
Binary file not shown.
@ -1,15 +1,13 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-limits
|
||||
Version: 3.3.1
|
||||
Version: 3.4.0
|
||||
Release: 1
|
||||
Summary: Rate limiting utilities
|
||||
License: MIT
|
||||
URL: https://limits.readthedocs.org
|
||||
Source0: https://files.pythonhosted.org/packages/fc/1b/59545e847205730b39a37a9e02dc5844c3e4b880c1f2e0d77944c728105a/limits-3.3.1.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/54/58/651969d328d212f927249db8b74982fbdf3249df2b6c33a66409f333ceb7/limits-3.4.0.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: python3-six
|
||||
|
||||
%description
|
||||
limits provides utilities to implement rate limiting using
|
||||
various strategies and storage backends such as redis & memcached.
|
||||
@ -19,7 +17,11 @@ Summary: Rate limiting utilities
|
||||
Provides: python-limits = %{version}-%{release}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
|
||||
Requires: python3-deprecated
|
||||
Requires: python3-importlib-resources
|
||||
Requires: python3-setuptools
|
||||
Requires: python3-packaging
|
||||
Requires: python3-typing-extensions
|
||||
%description -n python3-limits
|
||||
limits provides utilities to implement rate limiting using
|
||||
various strategies and storage backends such as redis & memcached.
|
||||
@ -27,7 +29,6 @@ various strategies and storage backends such as redis & memcached.
|
||||
%package help
|
||||
Summary: Development documents and examples for limits
|
||||
Provides: python3-limits-doc
|
||||
|
||||
%description help
|
||||
limits provides utilities to implement rate limiting using
|
||||
various strategies and storage backends such as redis & memcached.
|
||||
@ -45,6 +46,9 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi
|
||||
pushd %{buildroot}
|
||||
if [ -d usr/lib ]; then
|
||||
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||
@ -73,6 +77,9 @@ mv %{buildroot}/doclist.lst .
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Thu May 04 2023 wubijie <wubijie@kylinos.cn> - 3.4.0-1
|
||||
- Update package to version 3.4.0
|
||||
|
||||
* Fri Apr 7 2023 wubijie <wubijie@kylinos.cn> - 3.3.1-1
|
||||
- Update package to version 3.3.1
|
||||
|
||||
@ -87,4 +94,3 @@ mv %{buildroot}/doclist.lst .
|
||||
|
||||
* Sat Feb 20 2021 Python_Bot <Python_Bot@openeuler.org>
|
||||
- Package Spec generated
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user