Accepting request 542124 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/542124
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-M2Crypto?expand=0&rev=25
This commit is contained in:
Dominique Leuenberger 2017-11-19 10:07:32 +00:00 committed by Git OBS Bridge
commit ecb66312ab
2 changed files with 6 additions and 8 deletions

View File

@ -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

View File

@ -36,6 +36,7 @@ Patch1: fix-openssl-include-path.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing}
BuildRequires: fdupes
BuildRequires: openssl
BuildRequires: openssl-devel
@ -46,15 +47,7 @@ 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}