Hello community, here is the log from the commit of package python-M2Crypto for openSUSE:Factory checked in at 2015-12-09 19:33:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-M2Crypto (Old) and /work/SRC/openSUSE:Factory/.python-M2Crypto.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-M2Crypto" Changes: -------- --- /work/SRC/openSUSE:Factory/python-M2Crypto/python-M2Crypto.changes 2015-12-01 10:01:49.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-M2Crypto.new/python-M2Crypto.changes 2015-12-09 19:33:46.000000000 +0100 @@ -1,0 +2,16 @@ +Mon Dec 7 13:29:40 UTC 2015 - opens...@dstoecker.de + +- fix SSLv2 link error for 13.2 and Leap 42.1 (M2Crypto-0.22.5-SSLv2_link_error.patch) + +------------------------------------------------------------------- +Sat Dec 5 20:42:42 UTC 2015 - opens...@dstoecker.de + +- update to 0.22.5, fix URL +- drop python-M2Crypto-SWIG-3.0.5.patch (functionality included upstream) + +------------------------------------------------------------------- +Thu Nov 26 09:35:28 UTC 2015 - h...@urpla.net + +- SLE12 requires swig3 for a successful build, too + +------------------------------------------------------------------- Old: ---- M2Crypto-0.22.3.tar.gz python-M2Crypto-SWIG-3.0.5.patch New: ---- M2Crypto-0.22.5-SSLv2_link_error.patch M2Crypto-0.22.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-M2Crypto.spec ++++++ --- /var/tmp/diff_new_pack.vhxq6l/_old 2015-12-09 19:33:47.000000000 +0100 +++ /var/tmp/diff_new_pack.vhxq6l/_new 2015-12-09 19:33:47.000000000 +0100 @@ -17,31 +17,30 @@ Name: python-M2Crypto -Version: 0.22.3 +Version: 0.22.5 Release: 0 -Url: http://chandlerproject.org/bin/view/Projects/MeTooCrypto +Url: https://gitlab.com/m2crypto/m2crypto Summary: Crypto and SSL toolkit for Python License: MIT and ZPL-2.0 and BSD-3-Clause Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-%{version}.tar.gz -# PATCH-FIX-UPSTREAM python-M2Crypto-SWIG-3.0.5.patch -- https://github.com/martinpaljak/M2Crypto/issues/60 -Patch0: python-M2Crypto-SWIG-3.0.5.patch +# PATCH-FIX-UPSTREAM M2Crypto-0.22.5-SSLv2_link_error.patch -- remove useless reference to SSL version 2 +Patch0: M2Crypto-0.22.5-SSLv2_link_error.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: openssl BuildRequires: openssl-devel BuildRequires: python-devel BuildRequires: python-setuptools -%if 0%{?suse_version} == 1315 && 0%{?is_opensuse} +# hpj: SLES 12 and Leap 42.1 need swig3 to build this package +%if 0%{?suse_version} == 1315 BuildRequires: swig3 %else BuildRequires: swig %endif %if 0%{?suse_version} %py_requires -%if 0%{?suse_version} > 1010 BuildRequires: fdupes %endif -%endif %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Provides: python-m2crypto = %{version} Obsoletes: python-m2crypto < %{version} @@ -57,35 +56,21 @@ server. S/MIME. ZServerSSL: A HTTPS server for Zope. ZSmime: An S/MIME messenger for Zope. -It currently lives at -http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto. The -original M2Crypto homepage is at http://sandbox.rulemaker.net/ngps/m2/. - %prep %setup -n M2Crypto-%{version} +%if 0%{?suse_version} >= 1315 %patch0 -p1 +%endif %build CFLAGS="%{optflags}" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -# The SWIG shadow file is not being installed by setup.py -cp SWIG/_m2crypto.py %{buildroot}%{python_sitearch}/M2Crypto/ - -# install demo files manually -# (otherwise we can't perform %%fdupes on them the right way) -#chmod 0644 demo/{https.howto/get_https,ssl/twistedsslclient,ssl/twistedsslserver,tinderbox/slave,x509/certdata2pem}.py -export DOCDIR=%{buildroot}%{_docdir}/%{name} - -mkdir -p $DOCDIR -%fdupes $DOCDIR - -install -m 644 README $DOCDIR %files %defattr(-,root,root) -%doc %{_docdir}/%{name} +%doc README %{python_sitearch}/* %changelog ++++++ M2Crypto-0.22.5-SSLv2_link_error.patch ++++++ diff -ur M2Crypto-0.22.5/SWIG/_ssl.i M2Crypto-0.22.5_fix/SWIG/_ssl.i --- M2Crypto-0.22.5/SWIG/_ssl.i 2015-10-13 16:34:30.000000000 +0200 +++ M2Crypto-0.22.5_fix/SWIG/_ssl.i 2015-12-07 14:24:14.302731623 +0100 @@ -52,8 +52,6 @@ %rename(ssl_get_alert_desc_v) SSL_alert_desc_string_long; extern const char *SSL_alert_desc_string_long(int); -%rename(sslv2_method) SSLv2_method; -extern SSL_METHOD *SSLv2_method(void); %rename(sslv3_method) SSLv3_method; extern SSL_METHOD *SSLv3_method(void); %rename(sslv23_method) SSLv23_method; ++++++ M2Crypto-0.22.3.tar.gz -> M2Crypto-0.22.5.tar.gz ++++++ ++++ 2519 lines of diff (skipped)