[qt5-qtserialport/f22] workaround doc conflict
Rex Dieter
rdieter at fedoraproject.org
Sat Feb 28 13:12:46 UTC 2015
commit 03c2a0858659d2ea38519d29c05aae1d3a1440f7
Author: Rex Dieter <rdieter at gmail.com>
Date: Sat Feb 28 07:12:09 2015 -0600
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
More information about the scm-commits
mailing list