Accepting request 949686 from devel:languages:python

- When we limit setuptools in Requires, we should certainly do it
  in BuildRequires as well.

- Codify version requirement on setuptools for building.

OBS-URL: https://build.opensuse.org/request/show/949686
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wheel?expand=0&rev=25
This commit is contained in:
Dominique Leuenberger 2022-01-29 19:57:34 +00:00 committed by Git OBS Bridge
commit be475f297d
2 changed files with 16 additions and 5 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Jan 28 12:55:30 UTC 2022 - Matej Cepl <mcepl@suse.com>
- When we limit setuptools in Requires, we should certainly do it
in BuildRequires as well.
-------------------------------------------------------------------
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>

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
# remain the property of their copyright owners, unless otherwise agreed
@ -39,16 +39,16 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/pypa/wheel
Source: https://github.com/pypa/wheel/archive/%{version}.tar.gz#/wheel-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module setuptools >= 40.9}
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}