- use generic way to require python-typing now that python3 provides it
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=50
This commit is contained in:
parent
a7cea0608d
commit
33ed0fdfda
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 8 18:13:06 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
|
- use generic way to require python-typing now that python3 provides it
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 25 20:07:14 UTC 2017 - michael@stroeder.com
|
Wed Oct 25 20:07:14 UTC 2017 - michael@stroeder.com
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@ Patch1: fix-openssl-include-path.diff
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module typing}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: openssl
|
BuildRequires: openssl
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
@ -46,15 +47,7 @@ BuildRequires: swig3
|
|||||||
%else
|
%else
|
||||||
BuildRequires: swig
|
BuildRequires: swig
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} <= 1320
|
|
||||||
BuildRequires: %{python_module typing}
|
|
||||||
Requires: python-typing
|
Requires: python-typing
|
||||||
%else
|
|
||||||
BuildRequires: python2-typing
|
|
||||||
%endif
|
|
||||||
%ifpython2 && 0%{?suse_version} > 1320
|
|
||||||
Requires: python2-typing
|
|
||||||
%endif
|
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Provides: %{oldpython}-m2crypto = %{version}
|
Provides: %{oldpython}-m2crypto = %{version}
|
||||||
Obsoletes: %{oldpython}-m2crypto < %{version}
|
Obsoletes: %{oldpython}-m2crypto < %{version}
|
||||||
|
Loading…
Reference in New Issue
Block a user