Accepting request 504890 from home:sebix:branches:devel:languages:python
fix python-typing dependency OBS-URL: https://build.opensuse.org/request/show/504890 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=38
This commit is contained in:
parent
eb68d905dd
commit
4b7249c8ab
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 19 21:47:35 UTC 2017 - sebix+novell.com@sebix.at
|
||||
|
||||
- only require python3-typing if necessary
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 6 03:33:01 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
|
@ -32,7 +32,6 @@ Source: https://pypi.io/packages/source/M/M2Crypto/M2Crypto-%{version}.t
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module typing}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: openssl
|
||||
BuildRequires: openssl-devel
|
||||
@ -43,7 +42,15 @@ BuildRequires: swig3
|
||||
%else
|
||||
BuildRequires: swig
|
||||
%endif
|
||||
%if 0%{?suse_version} <= 1320
|
||||
BuildRequires: %{python_module typing}
|
||||
Requires: python-typing
|
||||
%else
|
||||
BuildRequires: python2-typing
|
||||
%endif
|
||||
%ifpython2 && 0%{?suse_version} > 1320
|
||||
Requires: python2-typing
|
||||
%endif
|
||||
%ifpython2
|
||||
Provides: %{oldpython}-m2crypto = %{version}
|
||||
Obsoletes: %{oldpython}-m2crypto < %{version}
|
||||
|
Loading…
Reference in New Issue
Block a user