diff --git a/polkit-kde.spec b/polkit-kde.spec index 03e7124..f96342c 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: 5.%{snap}%{?dist} +Release: 6.%{snap}%{?dist} License: GPLv2+ URL: https://projects.kde.org/projects/extragear/base/polkit-kde-agent-1 @@ -29,6 +29,9 @@ Provides: polkit-kde-agent-1 = %{version}-%{release} Obsoletes: PolicyKit-kde < 4.5 +# Add explicit dependency on polkit, since polkit-libs were split out +Requires: polkit + %description Provides Policy Kit Authentication Agent that nicely fits to KDE. @@ -55,7 +58,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} # 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 + %{buildroot}%{_sysconfdir}/xdg/autostart/polkit-kde-authentication-agent-1.desktop %files -f polkit-kde-authentication-agent-1.lang @@ -66,6 +69,9 @@ mv %{buildroot}/%{_datadir}/autostart/polkit-kde-authentication-agent-1.desktop %changelog +* Sun Jan 25 2015 Rex Dieter 0.99.1-6.20130311git +- Requires: polkit + * 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