- Add rsa-use-system-setuptools.patch

- Update to version 3.1.1:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=5
This commit is contained in:
Sascha Peilicke 2013-08-12 15:23:37 +00:00 committed by Git OBS Bridge
parent cb55a31701
commit 7ec938ac17
3 changed files with 23 additions and 3 deletions

View File

@ -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
-------------------------------------------------------------------

View File

@ -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

View File

@ -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