spec: update from upstream packaging

This commit is contained in:
Pino Toscano 2023-11-23 09:13:50 +01:00
parent 9b722f3f6e
commit 4a986aa092

View File

@ -156,10 +156,9 @@ Requires: python3-gobject-base
%endif %endif
# rhel 8 has different naming for setuptools going forward # rhel 8 has different naming for setuptools going forward
# on newer rhels and Fedora setuptools is not needed on runtime at all
%if (0%{?rhel} && 0%{?rhel} == 8) %if (0%{?rhel} && 0%{?rhel} == 8)
Requires: platform-python-setuptools Requires: platform-python-setuptools
%else
Requires: %{py_package_prefix}-setuptools
%endif %endif
%if %{use_dnf} %if %{use_dnf}