From 03c2a0858659d2ea38519d29c05aae1d3a1440f7 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Sat, 28 Feb 2015 07:12:09 -0600 Subject: [PATCH] workaround doc conflict currently happening on f22/x86_64 --- qt5-qtserialport.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qt5-qtserialport.spec b/qt5-qtserialport.spec index 60e02e1..5127159 100644 --- a/qt5-qtserialport.spec +++ b/qt5-qtserialport.spec @@ -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