From c7cfbf006c0924747596db2ae3c124d1a55f9d10 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 27 Jul 2021 16:28:08 -0400 Subject: [PATCH] Move %generate_buildrequires after %prep to make the spec file easier to follow --- python-sure.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python-sure.spec b/python-sure.spec index c17e732..4b9cc5c 100644 --- a/python-sure.spec +++ b/python-sure.spec @@ -53,10 +53,6 @@ after RSpec Expectations and should.js.} %description %{common_description} -%generate_buildrequires -%pyproject_buildrequires -r - - %package -n python3-%{srcname} Summary: %{summary} @@ -87,6 +83,10 @@ sed -r -i \ cp -p '%{SOURCE1}' . +%generate_buildrequires +%pyproject_buildrequires -r + + %build %pyproject_wheel env PYTHONPATH="${PWD}" %make_build -C docs/ html SPHINXOPTS='%{?_smp_mflags}'