Fix flatpak build

%_userunitdir is defined with a fixed /usr prefix, but the package
currently installs everything (including the unit file) into the same
prefix, which is /app in flatpak builds.
epel9
Yaakov Selkowitz 2 years ago
parent 650153d119
commit 230da28b01

@ -123,7 +123,7 @@ License: LGPLv2 or LGPLv3
%cmake_install %cmake_install
%if 0%{?flatpak:1} %if 0%{?flatpak:1}
rm -fv %{buildroot}%{_userunitdir}/kde-baloo.service find %{buildroot} -name kde-baloo.service -delete
%endif %endif
# baloodb not installed unless BUILD_EXPERIMENTAL is enabled, so omit translations # baloodb not installed unless BUILD_EXPERIMENTAL is enabled, so omit translations

Loading…
Cancel
Save