Hello community, here is the log from the commit of package python-mock for openSUSE:Factory checked in at 2018-01-16 09:35:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mock (Old) and /work/SRC/openSUSE:Factory/.python-mock.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-mock" Tue Jan 16 09:35:25 2018 rev:23 rq:561664 version:2.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mock/python-mock.changes 2017-11-04 10:24:36.477106279 +0100 +++ /work/SRC/openSUSE:Factory/.python-mock.new/python-mock.changes 2018-01-16 09:35:26.525146383 +0100 @@ -1,0 +2,5 @@ +Thu Jan 4 14:36:33 UTC 2018 - tchvatal@suse.com + +- Condition python2 build to ensure we can build py3 only package + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mock.spec ++++++ --- /var/tmp/diff_new_pack.nPvVQj/_old 2018-01-16 09:35:27.053121680 +0100 +++ /var/tmp/diff_new_pack.nPvVQj/_new 2018-01-16 09:35:27.053121680 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-mock # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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,6 +16,7 @@ # +%bcond_without python2 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-mock Version: 2.0.0 @@ -31,10 +32,10 @@ BuildRequires: %{python_module setuptools >= 17.1} BuildRequires: %{python_module six} BuildRequires: python-rpm-macros -# SECTION Python2-only requirements +%if %{with python2} BuildRequires: python-funcsigs BuildRequires: python-unittest2 -# /SECTION +%endif %ifpython2 Requires: python-funcsigs >= 1 %endif