diff --git a/python-rsa.changes b/python-rsa.changes index 018d6bb..9c11401 100644 --- a/python-rsa.changes +++ b/python-rsa.changes @@ -1,7 +1,12 @@ ------------------------------------------------------------------- -Fri Nov 23 11:18:01 UTC 2012 - saschpe@suse.de +Mon Aug 12 15:26:44 UTC 2013 - speilicke@suse.com -- Update to verison 3.1.1: +- Add rsa-use-system-setuptools.patch + +------------------------------------------------------------------- +Fri Nov 23 11:18:01 UTC 2012 - speilicke@suse.com + +- Update to version 3.1.1: + Upstream provides no changelog ------------------------------------------------------------------- diff --git a/python-rsa.spec b/python-rsa.spec index 476322d..5101693 100644 --- a/python-rsa.spec +++ b/python-rsa.spec @@ -1,7 +1,7 @@ # # spec file for package python-rsa # -# 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 @@ -24,6 +24,7 @@ Summary: Pure-Python RSA Implementation License: Apache-2.0 Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/r/rsa/rsa-%{version}.tar.gz +Patch0: rsa-use-system-setuptools.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-distribute @@ -42,6 +43,7 @@ PKCS#1 version 1.5. %prep %setup -q -n rsa-%{version} +%patch0 -p1 %build python setup.py build diff --git a/rsa-use-system-setuptools.patch b/rsa-use-system-setuptools.patch new file mode 100644 index 0000000..cd3f396 --- /dev/null +++ b/rsa-use-system-setuptools.patch @@ -0,0 +1,13 @@ +diff -ruN a/setup.py b/setup.py +--- a/setup.py 2012-06-18 16:14:17.000000000 +0200 ++++ b/setup.py 2013-08-12 17:25:36.196839624 +0200 +@@ -1,9 +1,5 @@ + #!/usr/bin/env python + +-# Ensure that a reasonably recent version of 'distribute' is installed. +-from distribute_setup import use_setuptools +-use_setuptools('0.6.10') +- + from setuptools import setup + + import rsa