Move %generate_buildrequires under %prep
This commit is contained in:
parent
f4ba6d83e4
commit
2d8a61f736
@ -23,10 +23,6 @@ BuildRequires: gettext
|
|||||||
BuildRequires: python%{python3_pkgversion}-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
|
|
||||||
|
|
||||||
%generate_buildrequires
|
|
||||||
%pyproject_buildrequires %{?with_tests: -x test}
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files.
|
sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files.
|
||||||
|
|
||||||
@ -43,6 +39,10 @@ sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files.
|
|||||||
find -name '*.mo' -delete
|
find -name '*.mo' -delete
|
||||||
|
|
||||||
|
|
||||||
|
%generate_buildrequires
|
||||||
|
%pyproject_buildrequires %{?with_tests: -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