Read the runtime dependencies from pyproject.toml

By switching to `-p` argument of `pyproject_buildrequires`, we don't
have to build the project twice.
This commit is contained in:
Elliott Sales de Andrade
2024-11-30 01:24:49 -05:00
parent 5211b69b49
commit db71fa5183

View File

@@ -309,7 +309,7 @@ gzip -dc %SOURCE1000 | tar xf - --transform='s~^mpl-images-%{mpl_images_version}
%generate_buildrequires
%pyproject_buildrequires -w %build_backend_args
%pyproject_buildrequires -p
%build