Skip to content

Commit 43aa622

Browse files
author
Allen Winter
committed
qt5-kdreports.spec - OBS fix for mkspec install
1 parent c17cd06 commit 43aa622

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qt5-kdreports.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ develop programs using kdreports.
4949
%setup -q
5050

5151
%build
52-
touch .license.accepted
5352
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
5453
%__make %{?_smp_mflags}
5554

@@ -74,7 +73,6 @@ cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
7473
%dir %{_libdir}/cmake/KDReports
7574
%{_libdir}/cmake/KDReports/*
7675
%{_libdir}/libkdreports.so
77-
%{_prefix}/share/mkspecs
7876
%if %{defined fedora}
7977
%if 0%{?fedora} > 28
8078
%{_libdir}/qt5/mkspecs/modules/*
@@ -83,6 +81,8 @@ cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
8381
%dir %{_prefix}/mkspecs/modules/
8482
%{_prefix}/mkspecs/modules/*.pri
8583
%endif
84+
%else
85+
%{_libdir}/qt5/mkspecs/modules/*
8686
%endif
8787

8888
%changelog

0 commit comments

Comments
 (0)