From a1fa41d610afe8abaf76468a8544803d61cec3f8009d9548a699ea589916cfc7 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 6 Aug 2013 12:36:23 +0000 Subject: [PATCH] - Use upstream source URL OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redis?expand=0&rev=16 --- python-redis.changes | 5 +++++ python-redis.spec | 12 +++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/python-redis.changes b/python-redis.changes index 4b8d6fc..77bb159 100644 --- a/python-redis.changes +++ b/python-redis.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 6 12:39:15 UTC 2013 - speilicke@suse.com + +- Use upstream source URL + ------------------------------------------------------------------- Fri Aug 2 10:19:57 UTC 2013 - berendt@b1-systems.de diff --git a/python-redis.spec b/python-redis.spec index b60155c..c705e21 100644 --- a/python-redis.spec +++ b/python-redis.spec @@ -1,7 +1,7 @@ # # spec file for package python-redis # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,17 +23,15 @@ Url: http://github.com/andymccurdy/redis-py Summary: Python client for Redis key-value store License: MIT Group: Development/Languages/Python -Source: http://cloud.github.com/downloads/andymccurdy/redis-py/redis-%{version}.tar.gz +Source: https://pypi.python.org/packages/source/r/redis/redis-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel Requires: python-py -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} > 1110 +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%else BuildArch: noarch %endif -%endif -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %description The Python interface to the Redis key-value store.