From 3d5b67a01c88c343fe25b05ef53a1b6d50803b81047495b4b1d976198e6f02ac Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Fri, 20 Nov 2015 20:54:39 +0000 Subject: [PATCH] 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 --- python-M2Crypto.changes | 5 +++++ python-M2Crypto.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/python-M2Crypto.changes b/python-M2Crypto.changes index 30da40a..625293f 100644 --- a/python-M2Crypto.changes +++ b/python-M2Crypto.changes @@ -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 diff --git a/python-M2Crypto.spec b/python-M2Crypto.spec index d0f9965..4a25d14 100644 --- a/python-M2Crypto.spec +++ b/python-M2Crypto.spec @@ -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