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
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires %{?with_check: -x test}
|
||||
|
||||
%description
|
||||
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
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires %{?with_check: -x test}
|
||||
|
||||
|
||||
%build
|
||||
for po in $(find -name '*.po'); do
|
||||
msgfmt --output-file=${po%.po}.mo ${po}
|
||||
|
Loading…
Reference in New Issue
Block a user