Revert "Fix build in ELN"

This reverts commit ddf7ecd3d8.

No longer needed due to https://src.fedoraproject.org/rpms/python-build/c/4a39a0b151

[skip changelog]
This commit is contained in:
Miro Hrončok 2025-09-08 09:49:24 +02:00 committed by churchyard
commit 6e8b540f1f

View file

@ -109,14 +109,6 @@ sed -ri -e 's/"(packaging|filelock|platformdirs|psutil|pyproject-api|pytest|pyte
-e 's/"(pluggy)>=.*/"\1>=1.5",/g' \
pyproject.toml
%if 0%{?rhel}
# There is no build[virtualenv] packaged in ELN
# https://github.com/fedora-eln/eln/issues/309
# We flatten the test depndency to build and virtualenv (already listed in runtime deps)
sed -i 's/"build\[virtualenv\]"/"build"/' pyproject.toml
%endif
%generate_buildrequires
export SETUPTOOLS_SCM_PRETEND_VERSION="%{version}"
%pyproject_buildrequires -r %{?with_tests:-g test}