From ea2d532bcef8a84991b137b0bfc1716d28b2eb67 Mon Sep 17 00:00:00 2001 From: Allen Winter Date: Tue, 22 Dec 2020 11:35:50 -0500 Subject: [PATCH] qt5-kdsoap.spec - fix for OBS --- qt5-kdsoap.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/qt5-kdsoap.spec b/qt5-kdsoap.spec index 7e8ef529..e9dba83f 100644 --- a/qt5-kdsoap.spec +++ b/qt5-kdsoap.spec @@ -71,13 +71,24 @@ cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=True -DCMAKE_BUILD_TYPE=R %files devel %defattr(-,root,root) %{_bindir}/kdwsdl2cpp -%{_prefix}/share/mkspecs %{_includedir}/KDSoapClient %{_includedir}/KDSoapServer %dir %{_libdir}/cmake/KDSoap %{_libdir}/cmake/KDSoap/* %{_libdir}/libkdsoap.so %{_libdir}/libkdsoap-server.so +%{_prefix}/share/mkspecs/ +%if %{defined fedora} +%if 0%{?fedora} > 28 +%{_libdir}/qt5/mkspecs/modules/* +%else +%dir %{_prefix}/mkspecs/ +%dir %{_prefix}/mkspecs/modules/ +%{_prefix}/mkspecs/modules/*.pri +%endif +%else +%{_libdir}/qt5/mkspecs/modules/* +%endif %changelog * Tue Dec 22 2020 Allen Winter 1.10.0