|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
%global upstream_name redis
|
|
|
|
|
|
|
|
|
|
Name: python-%{upstream_name}
|
|
|
|
|
Version: 3.5.3
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 4.2.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: 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
|
|
|
|
|
URL: https://github.com/redis/redis-py
|
|
|
|
|
Source0: https://github.com/redis/redis-py/archive/v%{version}/redis-py-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: redis
|
|
|
|
|
|
|
|
|
@ -19,10 +19,13 @@ This is a Python interface to the Redis key-value store.
|
|
|
|
|
Summary: Python 3 interface to the Redis key-value store
|
|
|
|
|
%{?python_provide:%python_provide python3-redis}
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-deprecated
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-py
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
BuildRequires: python3-mock
|
|
|
|
|
BuildRequires: python3-pytest-asyncio
|
|
|
|
|
BuildRequires: python3-async-timeout
|
|
|
|
|
|
|
|
|
|
%description -n python3-redis
|
|
|
|
|
This is a Python 3 interface to the Redis key-value store.
|
|
|
|
@ -43,15 +46,18 @@ rm tests/test_commands.py*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
redis-server &
|
|
|
|
|
%{__python3} -m pytest
|
|
|
|
|
%pytest -m 'not onlycluster and not redismod and not ssl'
|
|
|
|
|
kill %1
|
|
|
|
|
|
|
|
|
|
%files -n python3-redis
|
|
|
|
|
%doc CHANGES LICENSE README.rst
|
|
|
|
|
%doc CHANGES LICENSE README.md
|
|
|
|
|
%{python3_sitelib}/%{upstream_name}
|
|
|
|
|
%{python3_sitelib}/%{upstream_name}-%{version}-py%{python3_version}.egg-info
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Apr 04 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 4.2.2-1
|
|
|
|
|
- Update to 4.2.2
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.3-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|