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

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