Name: python-redis 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 Source0: https://github.com/andymccurdy/redis-py/archive/%{version}.tar.gz BuildArch: noarch %description The Python interface to the Redis key-value store. %package -n python3-redis Summary: The Python3 interface to the Redis key-value store BuildRequires: redis python3-devel python3-setuptools python3-py python3-pytest python3-mock %description -n python3-redis The Python3 interface to the Redis key-value store. %prep %autosetup -n redis-py-%{version} -p1 %build %py3_build %install %py3_install %check redis-server & %{__python3} -m pytest kill %1 %files -n python3-redis %doc CHANGES LICENSE README.rst %{python3_sitelib}/redis %{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 * Mon Jan 6 2020 qinjian - 2.10.6-6 - Package init