From 211f51d1c0287a4646243d06b251ad6d68c8aa2d2f8331b831bfba25eaa60998 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 18 Oct 2019 14:05:58 +0000 Subject: [PATCH] Accepting request 740901 from home:StefanBruens:branches:devel:languages:python - Remove runtime dependency for the full python3 package, as the actually required SSL module is in python3-base. For python(2), SSL is in the "full" python package. Avoids build loops and shortens the dependency chain for e.g. rust. OBS-URL: https://build.opensuse.org/request/show/740901 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=184 --- python-setuptools.changes | 8 ++++++++ python-setuptools.spec | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/python-setuptools.changes b/python-setuptools.changes index f517e8c..59b71d3 100644 --- a/python-setuptools.changes +++ b/python-setuptools.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Oct 17 20:35:06 UTC 2019 - Stefan Brüns + +- Remove runtime dependency for the full python3 package, as the + actually required SSL module is in python3-base. For python(2), + SSL is in the "full" python package. Avoids build loops and + shortens the dependency chain for e.g. rust. + ------------------------------------------------------------------- Wed Oct 16 13:58:35 UTC 2019 - Tomáš Chvátal diff --git a/python-setuptools.spec b/python-setuptools.spec index 7f4eeb2..fff6316 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -45,9 +45,12 @@ BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip -# needed for SLE +# 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 Requires: python-packaging Requires: python-six