Skip to content

Commit ea2d532

Browse files
author
Allen Winter
committed
qt5-kdsoap.spec - fix for OBS
1 parent 1aaeeca commit ea2d532

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

qt5-kdsoap.spec

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,24 @@ cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=True -DCMAKE_BUILD_TYPE=R
7171
%files devel
7272
%defattr(-,root,root)
7373
%{_bindir}/kdwsdl2cpp
74-
%{_prefix}/share/mkspecs
7574
%{_includedir}/KDSoapClient
7675
%{_includedir}/KDSoapServer
7776
%dir %{_libdir}/cmake/KDSoap
7877
%{_libdir}/cmake/KDSoap/*
7978
%{_libdir}/libkdsoap.so
8079
%{_libdir}/libkdsoap-server.so
80+
%{_prefix}/share/mkspecs/
81+
%if %{defined fedora}
82+
%if 0%{?fedora} > 28
83+
%{_libdir}/qt5/mkspecs/modules/*
84+
%else
85+
%dir %{_prefix}/mkspecs/
86+
%dir %{_prefix}/mkspecs/modules/
87+
%{_prefix}/mkspecs/modules/*.pri
88+
%endif
89+
%else
90+
%{_libdir}/qt5/mkspecs/modules/*
91+
%endif
8192

8293
%changelog
8394
* Tue Dec 22 2020 Allen Winter <allen.winter@kdab.com> 1.10.0

0 commit comments

Comments
 (0)