fix libexec dir properly

relatively speaking, arguably %%cmake_kf5 should be fixed (too)
epel9
Rex Dieter 4 years ago
parent c17866de70
commit 5555935e12

@ -3,7 +3,7 @@
Name: polkit-kde
Summary: PolicyKit integration for KDE Desktop
Version: 5.20.90
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2+
URL: https://invent.kde.org/plasma/%{base_name}
@ -56,7 +56,8 @@ Provides Policy Kit Authentication Agent that nicely fits to KDE.
%build
%cmake_kf5
%cmake_kf5 \
-DKDE_INSTALL_LIBEXECDIR:PATH=%{_kf5_libexecdir}
%cmake_build
@ -65,12 +66,6 @@ Provides Policy Kit Authentication Agent that nicely fits to KDE.
%find_lang polkit-kde-authentication-agent-1
# Move the agent from libexec to libexec/kf5
sed -i "s/Exec=\/usr\/libexec\//Exec=\/usr\/libexec\/kf5\//" %{buildroot}%{_sysconfdir}/xdg/autostart/polkit-kde-authentication-agent-1.desktop
mkdir -p %{buildroot}/%{_kf5_libexecdir}/
mv %{buildroot}/%{_libexecdir}/polkit-kde-authentication-agent-1 \
%{buildroot}/%{_kf5_libexecdir}
%files -f polkit-kde-authentication-agent-1.lang
%license COPYING
@ -82,6 +77,9 @@ mv %{buildroot}/%{_libexecdir}/polkit-kde-authentication-agent-1 \
%changelog
* Mon Jan 25 2021 Rex Dieter <rdieter@fedoraproject.org> - 5.20.90-3
- fix libexec dir properly
* Mon Jan 25 2021 Rex Dieter <rdieter@fedoraproject.org> - 5.20.90-2
- fix BusName (kde#431963)
- .spec cosmetics

Loading…
Cancel
Save