Hello community, here is the log from the commit of package python-encore for openSUSE:Factory checked in at 2020-04-21 13:11:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-encore (Old) and /work/SRC/openSUSE:Factory/.python-encore.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-encore" Tue Apr 21 13:11:25 2020 rev:2 rq:795827 version:0.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-encore/python-encore.changes 2018-05-29 10:28:56.739881610 +0200 +++ /work/SRC/openSUSE:Factory/.python-encore.new.2738/python-encore.changes 2020-04-21 13:11:27.156906263 +0200 @@ -1,0 +2,5 @@ +Mon Apr 20 12:44:42 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-encore.spec ++++++ --- /var/tmp/diff_new_pack.iO2MXj/_old 2020-04-21 13:11:27.784907515 +0200 +++ /var/tmp/diff_new_pack.iO2MXj/_new 2020-04-21 13:11:27.784907515 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-encore # -# 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 @@ -12,33 +12,36 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-encore Version: 0.7.0 Release: 0 -License: LGPL-2.1 and Apache-2.0 and Python-2.0 Summary: Low-level core modules for building Python applications -Url: https://github.com/enthought/encore +License: LGPL-2.1-only AND Apache-2.0 AND Python-2.0 Group: Development/Languages/Python +URL: https://github.com/enthought/encore Source: https://files.pythonhosted.org/packages/source/e/encore/encore-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros +Recommends: python-requests +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module mock} BuildRequires: %{python_module requests} +%if %{with python2} BuildRequires: python-futures +%endif # /SECTION -Recommends: python-requests %ifpython2 Requires: python-futures %endif -BuildArch: noarch - %python_subpackages %description
