forked from pool/python-rsa
Accepting request 352100 from home:rjschwei:branches:devel:languages:python
- Fix CVE 2016-1494 (bsc#960680) - Add patch cve_2016-1494.diff OBS-URL: https://build.opensuse.org/request/show/352100 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rsa?expand=0&rev=18
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-rsa
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX 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: cve_2016-1494.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-pyasn1
|
||||
@@ -55,6 +56,7 @@ sed -i "s/pyrsa-sign/pyrsa-sign-%{py_ver}/" setup.py
|
||||
sed -i "s/pyrsa-verify/pyrsa-verify-%{py_ver}/" setup.py
|
||||
sed -i "s/pyrsa-encrypt-bigfile =/pyrsa-encrypt-bigfile-%{py_ver} =/" setup.py
|
||||
sed -i "s/pyrsa-decrypt-bigfile =/pyrsa-decrypt-bigfile-%{py_ver} =/" setup.py
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
Reference in New Issue
Block a user