Hello community, here is the log from the commit of package python-M2Crypto for openSUSE:Factory checked in at 2017-04-28 10:54:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-M2Crypto (Old) and /work/SRC/openSUSE:Factory/.python-M2Crypto.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-M2Crypto" Fri Apr 28 10:54:36 2017 rev:19 rq:491646 version:0.26.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-M2Crypto/python-M2Crypto.changes 2016-06-12 18:53:08.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-M2Crypto.new/python-M2Crypto.changes 2017-04-28 10:54:42.427050255 +0200 @@ -1,0 +2,28 @@ +Thu Apr 27 15:56:24 UTC 2017 - [email protected] + +- Add python-typing as a dependency + +------------------------------------------------------------------- +Wed Apr 26 15:50:39 UTC 2017 - [email protected] + +- Provide python-m2crypto in the python2 package + +------------------------------------------------------------------- +Tue Apr 18 21:03:56 UTC 2017 - [email protected] + +- Update to 0.26.0 + * No changelog provided +- Implement single-spec version. + +------------------------------------------------------------------- +Mon Sep 12 10:53:53 UTC 2016 - [email protected] + +- use pypi.io as Source URL + +------------------------------------------------------------------- +Fri Jul 22 14:06:42 UTC 2016 - [email protected] + +- update to 0.25.1 +- set new dependency on package python-typing + +------------------------------------------------------------------- Old: ---- M2Crypto-0.24.0.tar.gz New: ---- M2Crypto-0.26.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-M2Crypto.spec ++++++ --- /var/tmp/diff_new_pack.cvtmsD/_old 2017-04-28 10:54:43.558890291 +0200 +++ /var/tmp/diff_new_pack.cvtmsD/_new 2017-04-28 10:54:43.562889726 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-M2Crypto # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,36 +16,44 @@ # +# Tests don't work offline +%bcond_with tests + +%define oldpython python +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-M2Crypto -Version: 0.24.0 +Version: 0.26.0 Release: 0 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 +Source: https://pypi.io/packages/source/M/M2Crypto/M2Crypto-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module typing} +BuildRequires: fdupes BuildRequires: openssl BuildRequires: openssl-devel -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: python-rpm-macros # hpj: SLES 12 and Leap 42.1 need swig3 to build this package -%if 0%{?suse_version} == 1315 +%if 0%{?sle_version} == 120100 BuildRequires: swig3 %else BuildRequires: swig %endif -%if 0%{?suse_version} -%py_requires -BuildRequires: fdupes -%endif -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +Requires: python-typing Provides: python-m2crypto = %{version} Obsoletes: python-m2crypto < %{version} +%ifpython2 +Provides: %{oldpython}-m2crypto = %{version} +Obsoletes: %{oldpython}-m2crypto < %{version} +%endif +%python_subpackages %description -M2Crypto is a crypto and SSL toolkit for Python featuring the -following: +M2Crypto is a crypto and SSL toolkit for Python featuring the following: RSA, DSA, DH, HMACs, message digests, symmetric ciphers (including AES). SSL functionality to implement clients and servers. HTTPS @@ -55,17 +63,25 @@ messenger for Zope. %prep -%setup -n M2Crypto-%{version} +%setup -q -n M2Crypto-%{version} %build -CFLAGS="%{optflags}" python setup.py build +export CFLAGS="%{optflags}" +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%if %{with tests} +%check +%python_exec setup.py test +%endif -%files +%files %{python_files} %defattr(-,root,root) -#%%doc README +%doc CHANGES LICENCE README.rst +%doc doc/ %{python_sitearch}/* %changelog ++++++ M2Crypto-0.24.0.tar.gz -> M2Crypto-0.26.0.tar.gz ++++++ ++++ 47155 lines of diff (skipped)
