Hello community, here is the log from the commit of package python-xvfbwrapper for openSUSE:Factory checked in at 2020-04-21 13:06:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-xvfbwrapper (Old) and /work/SRC/openSUSE:Factory/.python-xvfbwrapper.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-xvfbwrapper" Tue Apr 21 13:06:55 2020 rev:6 rq:795669 version:0.2.9 Changes: -------- --- /work/SRC/openSUSE:Factory/python-xvfbwrapper/python-xvfbwrapper.changes 2018-12-13 19:45:46.872908198 +0100 +++ /work/SRC/openSUSE:Factory/.python-xvfbwrapper.new.2738/python-xvfbwrapper.changes 2020-04-21 13:06:57.400368249 +0200 @@ -1,0 +2,5 @@ +Mon Apr 20 07:08:27 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-xvfbwrapper.spec ++++++ --- /var/tmp/diff_new_pack.IbeSMG/_old 2020-04-21 13:06:58.064369573 +0200 +++ /var/tmp/diff_new_pack.IbeSMG/_new 2020-04-21 13:06:58.068369581 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-xvfbwrapper # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,12 +17,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-xvfbwrapper Version: 0.2.9 Release: 0 Summary: Python wrapper for controlling X virtual framebuffer (Xvfb) License: MIT -Group: Development/Languages/Python URL: https://github.com/cgoldberg/xvfbwrapper Source: https://files.pythonhosted.org/packages/source/x/xvfbwrapper/xvfbwrapper-%{version}.tar.gz Patch0: skip_failing_test.patch @@ -32,8 +32,10 @@ Requires: xorg-x11-Xvfb BuildArch: noarch # SECTION test requirements -BuildRequires: python-mock BuildRequires: xorg-x11-Xvfb +%if %{with python2} +BuildRequires: python-mock +%endif # /SECTION %python_subpackages