forked from pool/python-redis
init
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=1
This commit is contained in:
29
python-redis.spec
Normal file
29
python-redis.spec
Normal file
@@ -0,0 +1,29 @@
|
||||
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)
|
Reference in New Issue
Block a user