SHA256
1
0
forked from pool/python-wheel

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
This commit is contained in:
Matej Cepl 2022-01-25 07:39:13 +00:00 committed by Git OBS Bridge
parent 0dc88a66a0
commit 681fad5879
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 24 18:08:08 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Codify version requirement on setuptools for building.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 5 16:06:03 UTC 2021 - Stefan Schubert <schubi@suse.de> Tue Oct 5 16:06:03 UTC 2021 - Stefan Schubert <schubi@suse.de>

View File

@ -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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20210929 BuildRequires: python-rpm-macros >= 20210929
Requires: python-setuptools Requires: python-setuptools >= 40.9
%if %{with libalternatives} %if %{with libalternatives}
Requires: alts Requires: alts
BuildRequires: alts BuildRequires: alts
%else %else
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun):update-alternatives
%endif %endif
BuildArch: noarch BuildArch: noarch
%if %{with test} %if %{with test}