From 230da28b0158ae82dab04c2565ab2c99b65f2506 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Sun, 26 Feb 2023 13:31:43 -0500 Subject: [PATCH] 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. --- kf5-baloo.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kf5-baloo.spec b/kf5-baloo.spec index 62dd508..27e0cd3 100644 --- a/kf5-baloo.spec +++ b/kf5-baloo.spec @@ -123,7 +123,7 @@ License: LGPLv2 or LGPLv3 %cmake_install %if 0%{?flatpak:1} -rm -fv %{buildroot}%{_userunitdir}/kde-baloo.service +find %{buildroot} -name kde-baloo.service -delete %endif # baloodb not installed unless BUILD_EXPERIMENTAL is enabled, so omit translations