Hello community,
here is the log from the commit of package python-traitsui for openSUSE:Factory
checked in at 2020-04-22 20:51:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-traitsui (Old)
and /work/SRC/openSUSE:Factory/.python-traitsui.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-traitsui"
Wed Apr 22 20:51:57 2020 rev:4 rq:795714 version:6.1.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-traitsui/python-traitsui.changes
2019-09-16 10:51:27.103164078 +0200
+++
/work/SRC/openSUSE:Factory/.python-traitsui.new.2738/python-traitsui.changes
2020-04-22 20:51:58.243272230 +0200
@@ -1,0 +2,5 @@
+Mon Apr 20 08:58:17 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-traitsui.spec ++++++
--- /var/tmp/diff_new_pack.befR2A/_old 2020-04-22 20:51:59.451274595 +0200
+++ /var/tmp/diff_new_pack.befR2A/_new 2020-04-22 20:51:59.455274603 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-traitsui
#
-# Copyright (c) 2019 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
@@ -19,6 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
%define X_display ":98"
+%bcond_without python2
Name: python-traitsui
Version: 6.1.3
Release: 0
@@ -50,8 +51,10 @@
BuildRequires: %{python_module qt5}
BuildRequires: %{python_module wxPython}
BuildRequires: Mesa-dri
-BuildRequires: python-mock
BuildRequires: xorg-x11-server
+%if %{with python2}
+BuildRequires: python-mock
+%endif
# /SECTION
%ifpython2
Provides: %{oldpython}-TraitsGUI = %{version}