diff --git a/qt5-qtdeclarative.spec b/qt5-qtdeclarative.spec index 945cda7..95ed6ab 100644 --- a/qt5-qtdeclarative.spec +++ b/qt5-qtdeclarative.spec @@ -76,10 +76,6 @@ popd make %{?_smp_mflags} -C %{_target_platform} -%if 0%{?docs} -make %{?_smp_mflags} docs %{_target_platform} -%endif - %ifarch %{ix86} # build libQt5Qml with no_sse2 mkdir -p %{_target_platform}-no_sse2 @@ -90,6 +86,10 @@ make %{?_smp_mflags} -C src/qml popd %endif +%if 0%{?docs} +make %{?_smp_mflags} docs -C %{_target_platform} +%endif + %install make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}