diff --git a/python-redis.spec b/python-redis.spec index 9cb3f6d359e5f6267ac3dbc00c7783f013cbfe05..5ce8da47e927493de6ce2352ed82e6d0e9fd8154 100644 --- a/python-redis.spec +++ b/python-redis.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-redis -Version: 4.5.5 +Version: 4.6.0 Release: 1 Summary: Python client for Redis key-value store License: MIT URL: https://github.com/redis/redis-py -Source0: https://github.com/redis/redis-py/archive/v%{version}/redis-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/73/88/63d802c2b18dd9eaa5b846cbf18917c6b2882f20efda398cc16a7500b02c/redis-4.6.0.tar.gz Source1: redis.conf BuildArch: noarch %description @@ -22,6 +22,9 @@ BuildRequires: python3-pytest BuildRequires: python3-pytest-asyncio BuildRequires: python3-mock BuildRequires: redis +Requires: python3-async-timeout +Requires: python3-importlib-metadata +Requires: python3-typing-extensions %description -n python3-redis The Python interface to the Redis key-value store. @@ -45,6 +48,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 @@ -92,6 +98,9 @@ kill %1 %{_docdir}/* %changelog +* Thu Jul 13 2023 zhangchenglin - 4.6.0-1 +- Update package to version 4.6.0 + * Thu Apr 6 2023 Dongxing Wang - 4.5.5-1 - upgrade version to 4.5.5 diff --git a/redis-4.5.5.tar.gz b/redis-4.6.0.tar.gz similarity index 53% rename from redis-4.5.5.tar.gz rename to redis-4.6.0.tar.gz index af36723f1204518653c14fa477a7e48f08cc52aa..3e4d6796996e5d070d6cec480b247557421eba6a 100644 Binary files a/redis-4.5.5.tar.gz and b/redis-4.6.0.tar.gz differ