- Add no-need-parameterized.patch ... we don't need run-time requirement
of parameterized package (bsc#1185150). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=101
This commit is contained in:
parent
3e4e459152
commit
7200cf9139
14
no-need-parameterized.patch
Normal file
14
no-need-parameterized.patch
Normal file
@ -0,0 +1,14 @@
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -33,9 +33,9 @@ logging.basicConfig(format='%(levelname)
|
||||
stream=sys.stdout, level=logging.INFO)
|
||||
log = logging.getLogger('setup')
|
||||
|
||||
-requires_list = ['parameterized']
|
||||
+requires_list = []
|
||||
if (2, 6) < sys.version_info[:2] < (3, 5):
|
||||
- requires_list = ['typing']
|
||||
+ requires_list.append('typing')
|
||||
if sys.version_info[0] > 2:
|
||||
from typing import Dict, List
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 22 22:33:46 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Add no-need-parameterized.patch ... we don't need run-time requirement
|
||||
of parameterized package (bsc#1185150).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 19 12:56:50 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -34,6 +34,9 @@ Patch0: python-M2Crypto-Allow-on-UNABLE_TO_VERIFY_LEAF_SIGNATURE.patch
|
||||
# PATCH-FIX-UPSTREAM 293_sslv23_padding.patch gl#m2crypto/m2crypto#293 mcepl@suse.com
|
||||
# RSA_SSLV23_PADDING is evil and should be avoided.
|
||||
Patch1: 293_sslv23_padding.patch
|
||||
# PATCH-FIX-OPENSUSE no-need-parameterized.patch bsc#1185150 mcepl@suse.com
|
||||
# no need to require parameterized for normal use
|
||||
Patch2: no-need-parameterized.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module parameterized}
|
||||
BuildRequires: %{python_module pytest}
|
||||
|
Loading…
Reference in New Issue
Block a user