diff --git a/limits-3.3.1.tar.gz b/limits-3.3.1.tar.gz deleted file mode 100644 index 92e1ee24fde195e1c93d74da13a2b85c58e73723..0000000000000000000000000000000000000000 Binary files a/limits-3.3.1.tar.gz and /dev/null differ diff --git a/limits-3.4.0.tar.gz b/limits-3.4.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..aa2045c89c7cfa9abf171fd962831f64b158c839 Binary files /dev/null and b/limits-3.4.0.tar.gz differ diff --git a/python-limits.spec b/python-limits.spec index 5d5a3131e4eb1a0bbd5e0149e6b9fcd7535c6591..7386a09ac4d408f8cb3b73241495e362fc5811b7 100644 --- a/python-limits.spec +++ b/python-limits.spec @@ -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 - 3.4.0-1 +- Update package to version 3.4.0 + * Fri Apr 7 2023 wubijie - 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 - Package Spec generated -