Do not require python3-setuptools from python3-devel

See https://fedoraproject.org/wiki/Changes/Reduce_dependencies_on_python3-setuptools

Not bumping the release because this only affects the package in Copr for now,
until we upgrade the main Python in Fedora to 3.10.

Co-authored-by: Tomas Hrnciar <thrnciar@redhat.com>
This commit is contained in:
Miro Hrončok 2021-04-19 13:26:17 +02:00
parent 9f5874443d
commit 19bf595786
1 changed files with 0 additions and 9 deletions

View File

@ -455,15 +455,6 @@ Requires: (python-rpm-macros if rpm-build)
Requires: (python3-rpm-macros if rpm-build)
%if %{without bootstrap}
# This is not "API" (packages that need setuptools should still BuildRequire it)
# However some packages apparently can build both with and without setuptools
# producing egg-info as file or directory (depending on setuptools presence).
# Directory-to-file updates are problematic in RPM, so we ensure setuptools is
# installed when -devel is required.
# See https://bugzilla.redhat.com/show_bug.cgi?id=1623914
# See https://fedoraproject.org/wiki/Packaging:Directory_Replacement
Requires: (%{pkgname}-setuptools if rpm-build)
Requires: (python3-rpm-generators if rpm-build)
%endif