Move %generate_buildrequires after %prep to make the spec file easier to follow

This commit is contained in:
Benjamin A. Beasley 2021-07-27 16:28:08 -04:00
parent c29b565e04
commit c7cfbf006c

View File

@ -53,10 +53,6 @@ after RSpec Expectations and should.js.}
%description %{common_description} %description %{common_description}
%generate_buildrequires
%pyproject_buildrequires -r
%package -n python3-%{srcname} %package -n python3-%{srcname}
Summary: %{summary} Summary: %{summary}
@ -87,6 +83,10 @@ sed -r -i \
cp -p '%{SOURCE1}' . cp -p '%{SOURCE1}' .
%generate_buildrequires
%pyproject_buildrequires -r
%build %build
%pyproject_wheel %pyproject_wheel
env PYTHONPATH="${PWD}" %make_build -C docs/ html SPHINXOPTS='%{?_smp_mflags}' env PYTHONPATH="${PWD}" %make_build -C docs/ html SPHINXOPTS='%{?_smp_mflags}'