Hello community, here is the log from the commit of package python-contextlib2 for openSUSE:Factory checked in at 2020-06-11 14:38:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-contextlib2 (Old) and /work/SRC/openSUSE:Factory/.python-contextlib2.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-contextlib2" Thu Jun 11 14:38:28 2020 rev:5 rq:810600 version:0.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-contextlib2/python-contextlib2.changes 2019-09-30 15:55:53.429776842 +0200 +++ /work/SRC/openSUSE:Factory/.python-contextlib2.new.3606/python-contextlib2.changes 2020-06-11 14:38:39.264253249 +0200 @@ -1,0 +2,5 @@ +Mon Jun 1 11:26:55 UTC 2020 - [email protected] + +- unittest2 is not neccessary for python3 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-contextlib2.spec ++++++ --- /var/tmp/diff_new_pack.BIzfc7/_old 2020-06-11 14:38:40.180255869 +0200 +++ /var/tmp/diff_new_pack.BIzfc7/_new 2020-06-11 14:38:40.180255869 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-contextlib2 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2014 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -18,6 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-contextlib2 Version: 0.6.0 Release: 0 @@ -27,7 +28,11 @@ URL: http://contextlib2.readthedocs.org Source: https://files.pythonhosted.org/packages/source/c/contextlib2/contextlib2-%{version}.tar.gz BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module unittest2} +# SECTION test requirements +%if %{with python2} +BuildRequires: python-unittest2 +%endif +# /SECTION BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch
