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