From 0da096a10efb1f7fb5b3eb176423b5b865ae9c47 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 30 Nov 2023 23:33:15 -0500 Subject: [PATCH] Drop unused python-build dependency python-build would only be used with the PEP 518 test, which is skipped as it requires network access. --- python-meson-python.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python-meson-python.spec b/python-meson-python.spec index ec5ccfc..6d2101d 100644 --- a/python-meson-python.spec +++ b/python-meson-python.spec @@ -49,8 +49,9 @@ Requires: /usr/bin/patchelf %prep %autosetup -n meson_python-%{version} -# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters -sed -r -i "s/'pytest-cov/# &/" pyproject.toml +# build: used only by skipped PEP 518 test +# pytest-cov: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters +sed -r -i "s/^ '(build|pytest-cov)/#&/" pyproject.toml %generate_buildrequires