if conditions fix for non-flatpak status

epel9
Onuralp SEZER 4 years ago
parent 3989a088ab
commit 9014b6fcc2

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

Loading…
Cancel
Save