workaround doc conflict

currently happening on f22/x86_64
This commit is contained in:
Rex Dieter 2015-02-28 07:12:09 -06:00
parent bbe16d597a
commit 03c2a08586
1 changed files with 6 additions and 0 deletions

View File

@ -76,6 +76,12 @@ make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
%if 0%{?docs}
make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform}
# workaround issue where on some archs/releases doc file is named examples-serialport.html or qtserialport-examples.html
if [ -f %{buildroot}%{_qt5_docdir}/qtserialport/qtserialport-examples.html ]; then
mv %{buildroot}%{_qt5_docdir}/qtserialport/qtserialport-examples.html \
%{buildroot}%{_qt5_docdir}/qtserialport/examples-serialport.html
fi
%endif
## .prl/.la file love