https://bugzilla.redhat.com/show_bug.cgi?id=1979275
--- Comment #6 from Miro Hrončok mhroncok@redhat.com --- Spec sanity:
I find this rather hard to hrasp, especially since the entire spec file rather uses %{short_name}. COnsidder expanding the URL fully, so it is easier to copy paste for whover needs to read it from the spec.
Source0: https://files.pythonhosted.org/packages/source/p/%%7Bname%7D/%%7Bname%7D-%%7...
Please, use %{pypi_source} instead. The exact URL is not considered future-stable.
%description %_description ... %description -n python3-%{short_name} %_description
The descriptions now start with a newline. Use this instead to avoid it:
%description %_description %description -n python3-%{short_name} %_description
# Remove bundled egg-info rm -rf %{pypi_name}.egg-info
This is not required with pyproject macros. In fact, it is most likely not ever required.
%check pytest
Is it possible to use the documented %pytest macro instead?