Skip to content

Commit

Permalink
qt5-kdreports.spec - OBS fix for mkspec install
Browse files Browse the repository at this point in the history
  • Loading branch information
winterz committed Nov 5, 2020
1 parent c17cd06 commit 43aa622
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qt5-kdreports.spec
Expand Up @@ -49,7 +49,6 @@ develop programs using kdreports.
%setup -q

%build
touch .license.accepted
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
%__make %{?_smp_mflags}

Expand All @@ -74,7 +73,6 @@ cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
%dir %{_libdir}/cmake/KDReports
%{_libdir}/cmake/KDReports/*
%{_libdir}/libkdreports.so
%{_prefix}/share/mkspecs
%if %{defined fedora}
%if 0%{?fedora} > 28
%{_libdir}/qt5/mkspecs/modules/*
Expand All @@ -83,6 +81,8 @@ cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
%dir %{_prefix}/mkspecs/modules/
%{_prefix}/mkspecs/modules/*.pri
%endif
%else
%{_libdir}/qt5/mkspecs/modules/*
%endif

%changelog
Expand Down

0 comments on commit 43aa622

Please sign in to comment.