diff --git a/.gitignore b/.gitignore index 5f7c9be..d627e8a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /xfce-polkit-0.1.tar.gz /xfce-polkit-0.2.tar.gz /fabc2f7756cfb1a9cccfcc675d0857b3d3e98f84.patch +/xfce-polkit-0.3.tar.gz diff --git a/sources b/sources index b44b096..402ae4f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b3de323260e9032484451031af0ae520 xfce-polkit-0.2.tar.gz +SHA512 (xfce-polkit-0.3.tar.gz) = 407b22d6292a717c5331d8b046c1e8e486a5a3e1ce5de5378d2e32f5836948f250ec34336fbe12d685903351d7f105cce0d0ff964b29f45b0bed1537e3c0b626 diff --git a/xfce-polkit.spec b/xfce-polkit.spec index 3c53040..09d582e 100644 --- a/xfce-polkit.spec +++ b/xfce-polkit.spec @@ -1,25 +1,11 @@ -%bcond_without autostart - -%if %{with autostart} -# Till Fedora 23, we use polkit-gnome instead and disable autostart to avoid any conflicts. -%if 0%{?fedora} >= 24 -%global autostart_desktop 1 -%endif -%if 0%{?rhel} >= 7 -%global autostart_desktop 1 -%endif -%endif - Name: xfce-polkit -Version: 0.2 -Release: 13%{?dist} +Version: 0.3 +Release: 1%{?dist} Summary: Simple PolicyKit authentication agent for Xfce License: GPLv2+ URL: https://github.com/ncopa/%{name} Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -# desktop file, https://github.com/ncopa/xfce-polkit/issues/2 -Patch0: https://github.com/ncopa/xfce-polkit/commit/fabc2f7756cfb1a9cccfcc675d0857b3d3e98f84.patch BuildRequires: gcc BuildRequires: automake @@ -47,21 +33,18 @@ autoreconf -fi desktop-file-edit --remove-key=NotShowIn --add-only-show-in=XFCE \ %{buildroot}%{_sysconfdir}/xdg/autostart/%{name}.desktop - %files %license LICENSE %doc AUTHORS README.md # do not distribute empty documentation files #doc ChangeLog NEWS +%{_sysconfdir}/xdg/autostart/xfce-polkit.desktop %{_libexecdir}/%{name} -%if 0%{?autostart_desktop} -%{_sysconfdir}/xdg/autostart/%{name}.desktop -%else -%exclude %{_sysconfdir}/xdg/autostart/%{name}.desktop -%endif - %changelog +* Sun Nov 11 2018 Kevin Fenzi - 0.3-1 +- Update to 0.3. Drop autostart conditionals. + * Sat Jul 14 2018 Fedora Release Engineering - 0.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild