Accepting request 186769 from devel:languages:python
- Add rsa-use-system-setuptools.patch - Update to version 3.1.1: OBS-URL: https://build.opensuse.org/request/show/186769 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=5
This commit is contained in:
commit
2746f7bd5d
@ -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
|
+ Upstream provides no changelog
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-rsa
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -24,6 +24,7 @@ Summary: Pure-Python RSA Implementation
|
|||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: http://pypi.python.org/packages/source/r/rsa/rsa-%{version}.tar.gz
|
Source: http://pypi.python.org/packages/source/r/rsa/rsa-%{version}.tar.gz
|
||||||
|
Patch0: rsa-use-system-setuptools.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-distribute
|
BuildRequires: python-distribute
|
||||||
@ -42,6 +43,7 @@ PKCS#1 version 1.5.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n rsa-%{version}
|
%setup -q -n rsa-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
python setup.py build
|
||||||
|
13
rsa-use-system-setuptools.patch
Normal file
13
rsa-use-system-setuptools.patch
Normal 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
|
Loading…
Reference in New Issue
Block a user