forked from pool/python-redis
- Update to version 2.4.9:
* Removed socket retry logic in Connection. This is the responsbility of the caller to determine if the command is safe and can be retried. Thanks David Wolver. * Added some extra guards around various types of exceptions being raised when sending or parsing data. Thanks David Wolver and Denis Bilenko. - See file CHANGES for previous versions... - Update to version 2.2.4: OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
b36c4ca773
commit
effae7ad7b
@@ -15,19 +15,15 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
%define mod_name redis
|
||||
|
||||
Name: python-%{mod_name}
|
||||
Version: 2.2.4
|
||||
Name: python-redis
|
||||
Version: 2.4.9
|
||||
Release: 0
|
||||
Url: http://github.com/andymccurdy/redis-py
|
||||
Summary: Python client for Redis key-value store
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Source: %{mod_name}-%{version}.tar.gz
|
||||
Source: http://cloud.github.com/downloads/andymccurdy/redis-py/redis-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
%if 0%{?suse_version}
|
||||
@@ -36,26 +32,23 @@ BuildRequires: python-devel
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%endif
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
%description
|
||||
Python client for Redis key-value store.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{mod_name}-%{version}
|
||||
%setup -q -n redis-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES LICENSE README.md
|
||||
%python_sitelib/%{mod_name}*
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user