From 681fad5879aea2d990cdc9b44688a455260586052509bbd5697671313d9f9d1e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 25 Jan 2022 07:39:13 +0000 Subject: [PATCH] Accepting request 948462 from home:jengelh:branches:devel:languages:python - Codify version requirement on setuptools for building. setup.cfg has the 40.9 line, and if one were to try to build it with an older setuptools, it would fail during %build rather than at the bs_sched level. OBS-URL: https://build.opensuse.org/request/show/948462 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wheel?expand=0&rev=55 --- python-wheel.changes | 5 +++++ python-wheel.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-wheel.changes b/python-wheel.changes index fc1dac7..8e6a93b 100644 --- a/python-wheel.changes +++ b/python-wheel.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 24 18:08:08 UTC 2022 - Jan Engelhardt + +- Codify version requirement on setuptools for building. + ------------------------------------------------------------------- Tue Oct 5 16:06:03 UTC 2021 - Stefan Schubert diff --git a/python-wheel.spec b/python-wheel.spec index 2213d87..bb3df2f 100644 --- a/python-wheel.spec +++ b/python-wheel.spec @@ -1,7 +1,7 @@ # -# spec file for package python-wheel +# spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -42,13 +42,13 @@ Source: https://github.com/pypa/wheel/archive/%{version}.tar.gz#/wheel-% BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros >= 20210929 -Requires: python-setuptools +Requires: python-setuptools >= 40.9 %if %{with libalternatives} Requires: alts BuildRequires: alts %else Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives %endif BuildArch: noarch %if %{with test}