From db71fa5183e640c66b37ae92c8e26cdaf35f43a8 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sat, 30 Nov 2024 01:24:49 -0500 Subject: [PATCH] Read the runtime dependencies from pyproject.toml By switching to `-p` argument of `pyproject_buildrequires`, we don't have to build the project twice. --- python-matplotlib.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-matplotlib.spec b/python-matplotlib.spec index 1ef08e9..2d87ae4 100644 --- a/python-matplotlib.spec +++ b/python-matplotlib.spec @@ -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