69a8b70908
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=2
31 lines
728 B
RPMSpec
31 lines
728 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
|
|
%if 0%{?suse_version} >= 1120
|
|
BuildArch: noarch
|
|
%endif
|
|
%{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)
|