diff --git a/2.10.6.tar.gz b/2.10.6.tar.gz deleted file mode 100644 index 9fd70b5d9602be54c238c2a77f6c4dc5672a3d84..0000000000000000000000000000000000000000 Binary files a/2.10.6.tar.gz and /dev/null differ diff --git a/3.4.1.tar.gz b/3.4.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..dbc8d8aeb9f779969a8e38c926a18e2a2f45dc47 Binary files /dev/null and b/3.4.1.tar.gz differ diff --git a/python-redis.spec b/python-redis.spec index 447838b8a6458e53a788e211e05f9df71996ec54..1297408fb83eff21ee2d975b84a8bccd23da2af8 100644 --- a/python-redis.spec +++ b/python-redis.spec @@ -1,6 +1,6 @@ Name: python-redis -Version: 2.10.6 -Release: 7 +Version: 3.4.1 +Release: 1 Summary: The Python interface to the Redis key-value store License: MIT URL: https://github.com/andymccurdy/redis-py @@ -20,17 +20,16 @@ The Python3 interface to the Redis key-value store. %prep %autosetup -n redis-py-%{version} -p1 -rm tests/test_commands.py* %build -%{__python3} setup.py build +%py3_build %install -%{__python3} setup.py install -O1 --skip-build --root=%{buildroot} +%py3_install %check redis-server & -%{__python3} setup.py test +%{__python3} -m pytest kill %1 %files -n python3-redis @@ -39,6 +38,9 @@ kill %1 %{python3_sitelib}/redis-%{version}-py%{python3_version}.egg-info %changelog +* Tue Jan 12 2021 wutao - 3.4.1-1 +- upgrade to 3.4.1 adapting to pytest + * Wed Aug 05 2020 zhangjiapeng - 2.10.6-7 - Remove python2