Hello community, here is the log from the commit of package python-setuptools for openSUSE:Factory checked in at 2020-03-27 00:23:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-setuptools (Old) and /work/SRC/openSUSE:Factory/.python-setuptools.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-setuptools" Fri Mar 27 00:23:03 2020 rev:58 rq:784647 version:44.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-setuptools/python-setuptools.changes 2020-02-07 15:52:44.835456188 +0100 +++ /work/SRC/openSUSE:Factory/.python-setuptools.new.3160/python-setuptools.changes 2020-03-27 00:23:07.288190671 +0100 @@ -1,0 +2,5 @@ +Fri Mar 13 13:09:15 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-setuptools.spec ++++++ --- /var/tmp/diff_new_pack.FPeS4K/_old 2020-03-27 00:23:08.460191264 +0100 +++ /var/tmp/diff_new_pack.FPeS4K/_new 2020-03-27 00:23:08.464191266 +0100 @@ -26,6 +26,7 @@ %define psuffix %{nil} %bcond_with test %endif +%bcond_without python2 Name: python-setuptools%{psuffix} Version: 44.0.0 Release: 0 @@ -47,10 +48,6 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip -# The dependency download feature may require SSL, which is in python3-base and python(2) -%ifpython2 -Requires: python -%endif Requires: python-appdirs Requires: python-base Requires: python-ordered-set @@ -60,6 +57,10 @@ Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch +# The dependency download feature may require SSL, which is in python3-base and python(2) +%ifpython2 +Requires: python +%endif %if %{with test} BuildRequires: %{python_module Paver} BuildRequires: %{python_module devel} @@ -70,8 +71,10 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools >= %{version}} BuildRequires: %{python_module wheel} +%if %{with python2} BuildRequires: python-futures %endif +%endif %if 0%{?suse_version} || 0%{?fedora_version} >= 24 Recommends: ca-certificates-mozilla %endif