From effae7ad7b6d75807196637f6ba2ced99e7ff0f6f64764ff67b2a1898d3acb03 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Fri, 23 Sep 2011 12:14:33 +0000 Subject: [PATCH] - 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 --- python-redis.changes | 13 ++++++++++++- python-redis.spec | 19 ++++++------------- redis-2.2.4.tar.gz | 3 --- redis-2.4.9.tar.gz | 3 +++ 4 files changed, 21 insertions(+), 17 deletions(-) delete mode 100644 redis-2.2.4.tar.gz create mode 100644 redis-2.4.9.tar.gz diff --git a/python-redis.changes b/python-redis.changes index 9b2d396..1370549 100644 --- a/python-redis.changes +++ b/python-redis.changes @@ -1,7 +1,18 @@ +------------------------------------------------------------------- +Fri Sep 23 12:12:39 UTC 2011 - saschpe@suse.de + +- 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... + ------------------------------------------------------------------- Fri Apr 15 12:43:07 UTC 2011 - saschpe@suse.de -- Update to version 2.2.4 +- Update to version 2.2.4: * WARNING: Potential backwards incompatible change - Changed order of parameters of ZREVRANGEBYSCORE to match those of the actual Redis command. This is only backwards-incompatible if you were passing max and min via diff --git a/python-redis.spec b/python-redis.spec index 6eec507..a458823 100644 --- a/python-redis.spec +++ b/python-redis.spec @@ -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 diff --git a/redis-2.2.4.tar.gz b/redis-2.2.4.tar.gz deleted file mode 100644 index 40f9df5..0000000 --- a/redis-2.2.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2a3e021e861732ad74ca80160276ac6605dd6b196c4198bc40fc0b9847a61cca -size 20822 diff --git a/redis-2.4.9.tar.gz b/redis-2.4.9.tar.gz new file mode 100644 index 0000000..5a32c1e --- /dev/null +++ b/redis-2.4.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4ea85767e037d1aa471272840db2af512fe86043324621f883de7c9ccebfaf1 +size 26373