From 5f66224fc60a77a78b01d28ff36ce725a3bcf79c Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Mon, 12 Jun 2023 17:18:24 +0000 Subject: [PATCH] Remove usage of deprecated %{pyproject_build_lib} --- pytest.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest.spec b/pytest.spec index fe49882..4be5df9 100644 --- a/pytest.spec +++ b/pytest.spec @@ -120,7 +120,7 @@ sed -i 's/"endline": "\\x1b\[90m\\x1b\[39;49;00m",/"endline": "",/' testing/conf %if %{with docs} for l in doc/* ; do - %make_build -C $l html PYTHONPATH=%{pyproject_build_lib} + %make_build -C $l html PYTHONPATH="$(pwd)/src" done for f in README CHANGELOG CONTRIBUTING ; do rst2html ${f}.rst > ${f}.html