Move %generate_buildrequires under %prep
Just a personal preference when it comes to spec readability.
This commit is contained in:
parent
5b5766d251
commit
d5d09cd6e1
@ -21,9 +21,6 @@ BuildRequires: gettext
|
|||||||
BuildRequires: python%{python3_pkgversion}-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
|
|
||||||
|
|
||||||
%generate_buildrequires
|
|
||||||
%pyproject_buildrequires %{?with_check: -x test}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books.
|
sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books.
|
||||||
|
|
||||||
@ -40,6 +37,10 @@ sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books.
|
|||||||
find -name '*.mo' -delete
|
find -name '*.mo' -delete
|
||||||
|
|
||||||
|
|
||||||
|
%generate_buildrequires
|
||||||
|
%pyproject_buildrequires %{?with_check: -x test}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
for po in $(find -name '*.po'); do
|
for po in $(find -name '*.po'); do
|
||||||
msgfmt --output-file=${po%.po}.mo ${po}
|
msgfmt --output-file=${po%.po}.mo ${po}
|
||||||
|
Loading…
Reference in New Issue
Block a user