forked from pool/python-redis
30 lines
714 B
RPMSpec
30 lines
714 B
RPMSpec
|
Name: python-redis
|
||
|
Version: 1.34.1
|
||
|
Release: 1
|
||
|
Summary: Python client for Redis key-value store
|
||
|
License: MIT
|
||
|
Group: Development/Libraries/Python
|
||
|
Source: http://cloud.github.com/downloads/andymccurdy/redis-py/redis-%{version}.tar.gz
|
||
|
BuildRequires: python-devel
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
BuildArch: noarch
|
||
|
Requires: python
|
||
|
%{py_requires}
|
||
|
|
||
|
%description
|
||
|
Python client for Redis key-value store
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n redis-%{version}
|
||
|
|
||
|
%build
|
||
|
%{__python} setup.py build
|
||
|
|
||
|
|
||
|
%install
|
||
|
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
|
||
|
|
||
|
|
||
|
%files -f INSTALLED_FILES
|
||
|
%defattr(-,root,root)
|