simplify flatpak conditionals

epel9
Rex Dieter 4 years ago
parent 9014b6fcc2
commit bcd3b5d7bd

@ -71,7 +71,9 @@ developing applications that use %{name}.
%install
%cmake_install
%if 0%{?flatpak} == 1
# unpackaged files
%if 0%{?flatpak:1}
rm %{buildroot}%{_prefix}/lib/systemd/user/plasma-kglobalaccel.service
%endif
@ -86,7 +88,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 0%{?flatpak} == 0
%if ! 0%{?flatpak:1}
%{_userunitdir}/plasma-kglobalaccel.service
%endif

Loading…
Cancel
Save