|
|
|
@ -1,21 +1,18 @@
@@ -1,21 +1,18 @@
|
|
|
|
|
%if 0%{?fedora} >= 13 || 0%{?el} >= 8 |
|
|
|
|
%global with_python3 1 |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%global upstream_name redis |
|
|
|
|
|
|
|
|
|
Name: python-%{upstream_name} |
|
|
|
|
Version: 2.10.3 |
|
|
|
|
Release: 5%{?dist} |
|
|
|
|
Version: 2.10.6 |
|
|
|
|
Release: 1%{?dist} |
|
|
|
|
Summary: Python 2 interface to the Redis key-value store |
|
|
|
|
License: MIT |
|
|
|
|
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 |
|
|
|
|
BuildRequires: python2-devel |
|
|
|
|
BuildRequires: python-setuptools |
|
|
|
|
BuildRequires: python-py |
|
|
|
|
BuildRequires: pytest |
|
|
|
|
#BuildRequires: pytest |
|
|
|
|
BuildRequires: redis |
|
|
|
|
|
|
|
|
|
%description |
|
|
|
@ -27,7 +24,7 @@ Summary: Python 3 interface to the Redis key-value store
@@ -27,7 +24,7 @@ Summary: Python 3 interface to the Redis key-value store
|
|
|
|
|
BuildRequires: python3-devel |
|
|
|
|
BuildRequires: python3-setuptools |
|
|
|
|
BuildRequires: python3-py |
|
|
|
|
BuildRequires: python3-pytest |
|
|
|
|
#BuildRequires: python3-pytest |
|
|
|
|
|
|
|
|
|
%description -n python3-redis |
|
|
|
|
This is a Python 3 interface to the Redis key-value store. |
|
|
|
|