Accepting request 345497 from home:frispete:python

And fix it correctly..

- fix build for openSUSE Leap 42.1 (requires swig3)

OBS-URL: https://build.opensuse.org/request/show/345497
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-M2Crypto?expand=0&rev=23
This commit is contained in:
Denisart Benjamin 2015-11-20 20:54:39 +00:00 committed by Git OBS Bridge
parent f1553254a2
commit 3d5b67a01c
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 17 17:54:49 UTC 2015 - hpj@urpla.net
- fix build for openSUSE Leap 42.1 (requires swig3)
-------------------------------------------------------------------
Tue Feb 24 11:35:42 UTC 2015 - dimstar@opensuse.org

View File

@ -31,7 +31,11 @@ BuildRequires: openssl
BuildRequires: openssl-devel
BuildRequires: python-devel
BuildRequires: python-setuptools
%if 0%{?suse_version} == 1315 && 0%{?is_opensuse}
BuildRequires: swig3
%else
BuildRequires: swig
%endif
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1010