|
|
@ -1,21 +1,18 @@ |
|
|
|
%if 0%{?fedora} >= 13 || 0%{?el} >= 8 |
|
|
|
|
|
|
|
%global with_python3 1 |
|
|
|
%global with_python3 1 |
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global upstream_name redis |
|
|
|
%global upstream_name redis |
|
|
|
|
|
|
|
|
|
|
|
Name: python-%{upstream_name} |
|
|
|
Name: python-%{upstream_name} |
|
|
|
Version: 2.10.3 |
|
|
|
Version: 2.10.6 |
|
|
|
Release: 5%{?dist} |
|
|
|
Release: 1%{?dist} |
|
|
|
Summary: Python 2 interface to the Redis key-value store |
|
|
|
Summary: Python 2 interface to the Redis key-value store |
|
|
|
License: MIT |
|
|
|
License: MIT |
|
|
|
URL: http://github.com/andymccurdy/redis-py |
|
|
|
URL: http://github.com/andymccurdy/redis-py |
|
|
|
Source0: http://pypi.python.org/packages/source/r/redis/redis-%{version}.tar.gz |
|
|
|
Source0: https://pypi.python.org/packages/source/r/redis/redis-%{version}.tar.gz |
|
|
|
BuildArch: noarch |
|
|
|
BuildArch: noarch |
|
|
|
BuildRequires: python2-devel |
|
|
|
BuildRequires: python2-devel |
|
|
|
BuildRequires: python-setuptools |
|
|
|
BuildRequires: python-setuptools |
|
|
|
BuildRequires: python-py |
|
|
|
BuildRequires: python-py |
|
|
|
BuildRequires: pytest |
|
|
|
#BuildRequires: pytest |
|
|
|
BuildRequires: redis |
|
|
|
BuildRequires: redis |
|
|
|
|
|
|
|
|
|
|
|
%description |
|
|
|
%description |
|
|
@ -27,7 +24,7 @@ Summary: Python 3 interface to the Redis key-value store |
|
|
|
BuildRequires: python3-devel |
|
|
|
BuildRequires: python3-devel |
|
|
|
BuildRequires: python3-setuptools |
|
|
|
BuildRequires: python3-setuptools |
|
|
|
BuildRequires: python3-py |
|
|
|
BuildRequires: python3-py |
|
|
|
BuildRequires: python3-pytest |
|
|
|
#BuildRequires: python3-pytest |
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-redis |
|
|
|
%description -n python3-redis |
|
|
|
This is a Python 3 interface to the Redis key-value store. |
|
|
|
This is a Python 3 interface to the Redis key-value store. |
|
|
|