diff --git a/polkit-kde.spec b/polkit-kde.spec index e2b5b63..03e7124 100644 --- a/polkit-kde.spec +++ b/polkit-kde.spec @@ -4,7 +4,7 @@ Name: polkit-kde Summary: PolicyKit integration for KDE Desktop Version: 0.99.1 -Release: 4.%{snap}%{?dist} +Release: 5.%{snap}%{?dist} License: GPLv2+ URL: https://projects.kde.org/projects/extragear/base/polkit-kde-agent-1 @@ -51,15 +51,24 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang polkit-kde-authentication-agent-1 +# Plasma 5 only picks autostart from /etc/xdg/autostart, so we move it +# there so that both Plasma 5 and KDE 4 pick it up +mkdir -p %{buildroot}/etc/xdg/autostart +mv %{buildroot}/%{_datadir}/autostart/polkit-kde-authentication-agent-1.desktop \ + %{buildroot}/etc/xdg/autostart/polkit-kde-authentication-agent-1.desktop + %files -f polkit-kde-authentication-agent-1.lang %doc COPYING %{_libexecdir}/kde4/polkit-kde-authentication-agent-1 -%{_datadir}/autostart/polkit-kde-authentication-agent-1.desktop +%{_sysconfdir}/xdg/autostart/polkit-kde-authentication-agent-1.desktop %{_kde4_appsdir}/policykit1-kde/policykit1-kde.notifyrc %changelog +* Wed Oct 22 2014 Daniel Vrátil - 0.99.1-5.20130311git +- Install autostart file to /etc/xdg/autostart so that Plasma 5 picks it up too + * Sun Aug 17 2014 Fedora Release Engineering - 0.99.1-4.20130311git - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild