diff --git a/kf5-kglobalaccel.spec b/kf5-kglobalaccel.spec index d6a183d..a98472e 100644 --- a/kf5-kglobalaccel.spec +++ b/kf5-kglobalaccel.spec @@ -71,7 +71,7 @@ developing applications that use %{name}. %install %cmake_install -%if 0%{?flatpak} +%if 0%{?flatpak} == 1 rm %{buildroot}%{_prefix}/lib/systemd/user/plasma-kglobalaccel.service %endif @@ -86,7 +86,7 @@ rm %{buildroot}%{_prefix}/lib/systemd/user/plasma-kglobalaccel.service %{_kf5_bindir}/kglobalaccel5 %{_kf5_datadir}/kservices5/kglobalaccel5.desktop %{_datadir}/dbus-1/services/org.kde.kglobalaccel.service -%if %{flatpak} == 0 +%if 0%{?flatpak} == 0 %{_userunitdir}/plasma-kglobalaccel.service %endif