From 9014b6fcc2bd09ff73948eb83ee361ec5fc83287 Mon Sep 17 00:00:00 2001 From: Onuralp SEZER Date: Mon, 5 Apr 2021 18:33:51 +0300 Subject: [PATCH] if conditions fix for non-flatpak status --- kf5-kglobalaccel.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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