From 5555935e12f0e2ad57d1e53eb4588929dbd7c496 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 25 Jan 2021 15:11:49 -0600 Subject: [PATCH] fix libexec dir properly relatively speaking, arguably %%cmake_kf5 should be fixed (too) --- polkit-kde.spec | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/polkit-kde.spec b/polkit-kde.spec index 3ed0860..8ac7240 100644 --- a/polkit-kde.spec +++ b/polkit-kde.spec @@ -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 - 5.20.90-3 +- fix libexec dir properly + * Mon Jan 25 2021 Rex Dieter - 5.20.90-2 - fix BusName (kde#431963) - .spec cosmetics