* Thu Jun 07 2012 David Zeuthen <davidz@redhat.com> 0.106-1.fc18
- Update to upstream release 0.106 - Authorizations are no longer controlled by .pkla files - from now on, use the new .rules files described in the polkit(8) man page
This commit is contained in:
parent
0fee849c09
commit
413036b7c7
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,3 +12,4 @@ polkit-0.98.tar.gz
|
||||
/polkit-0.103.tar.gz
|
||||
/polkit-0.104.tar.gz
|
||||
/polkit-0.105.tar.gz
|
||||
/polkit-0.106.tar.gz
|
||||
|
43
polkit.spec
43
polkit.spec
@ -1,18 +1,19 @@
|
||||
Summary: polkit Authorization Framework
|
||||
Name: polkit
|
||||
Version: 0.105
|
||||
Version: 0.106
|
||||
Release: 1%{?dist}
|
||||
License: LGPLv2+
|
||||
URL: http://www.freedesktop.org/wiki/Software/PolicyKit
|
||||
URL: http://www.freedesktop.org/wiki/Software/polkit
|
||||
Source0: http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
|
||||
Group: System Environment/Libraries
|
||||
BuildRequires: glib2-devel >= 2.28.0
|
||||
BuildRequires: glib2-devel >= 2.30.0
|
||||
BuildRequires: expat-devel
|
||||
BuildRequires: pam-devel
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: intltool
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: systemd-devel
|
||||
BuildRequires: js-devel
|
||||
|
||||
Requires: dbus
|
||||
|
||||
@ -60,7 +61,6 @@ Development documentation for polkit.
|
||||
%build
|
||||
%configure --enable-gtk-doc \
|
||||
--disable-static \
|
||||
--libexecdir=%{_libexecdir}/polkit-1 \
|
||||
--enable-introspection \
|
||||
--enable-examples \
|
||||
--enable-systemd=yes
|
||||
@ -74,44 +74,42 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/*.la
|
||||
|
||||
%find_lang polkit-1
|
||||
|
||||
%pre
|
||||
getent group polkitd >/dev/null || groupadd -r polkitd
|
||||
getent passwd polkitd >/dev/null || useradd -r -g polkitd -d / -s /sbin/nologin -c "User for polkitd" polkitd
|
||||
exit 0
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files -f polkit-1.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%doc COPYING NEWS README
|
||||
%{_libdir}/lib*.so.*
|
||||
%dir %{_libdir}/polkit-1
|
||||
%dir %{_libdir}/polkit-1/extensions
|
||||
%{_libdir}/polkit-1/extensions/*.so
|
||||
%{_datadir}/man/man1/*
|
||||
%{_datadir}/man/man8/*
|
||||
%{_datadir}/dbus-1/system-services/*
|
||||
%{_prefix}/lib/systemd/system/polkit.service
|
||||
%dir %{_datadir}/polkit-1/
|
||||
%dir %{_datadir}/polkit-1/actions
|
||||
%attr(0700,polkitd,root) %dir %{_datadir}/polkit-1/rules.d
|
||||
%{_datadir}/polkit-1/actions/org.freedesktop.policykit.policy
|
||||
%dir %{_sysconfdir}/polkit-1
|
||||
%{_sysconfdir}/polkit-1/rules.d/50-default.rules
|
||||
%attr(0700,polkitd,root) %dir %{_sysconfdir}/polkit-1/rules.d
|
||||
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
|
||||
%{_sysconfdir}/pam.d/polkit-1
|
||||
%{_sysconfdir}/polkit-1
|
||||
%{_bindir}/pkaction
|
||||
%{_bindir}/pkcheck
|
||||
%{_bindir}/pkttyagent
|
||||
%dir %{_libexecdir}/polkit-1
|
||||
%{_libexecdir}/polkit-1/polkitd
|
||||
%dir %{_prefix}/lib/polkit-1
|
||||
%{_prefix}/lib/polkit-1/polkitd
|
||||
%{_libdir}/girepository-1.0/*.typelib
|
||||
|
||||
# see upstream docs for why these permissions are necessary
|
||||
%attr(4755,root,root) %{_bindir}/pkexec
|
||||
%attr(4755,root,root) %{_libexecdir}/polkit-1/polkit-agent-helper-1
|
||||
|
||||
%attr(0700,root,root) %dir %{_localstatedir}/lib/polkit-1/
|
||||
%dir %{_localstatedir}/lib/polkit-1/localauthority
|
||||
%dir %{_localstatedir}/lib/polkit-1/localauthority/10-vendor.d
|
||||
%dir %{_localstatedir}/lib/polkit-1/localauthority/20-org.d
|
||||
%dir %{_localstatedir}/lib/polkit-1/localauthority/30-site.d
|
||||
%dir %{_localstatedir}/lib/polkit-1/localauthority/50-local.d
|
||||
%dir %{_localstatedir}/lib/polkit-1/localauthority/90-mandatory.d
|
||||
%attr(4755,root,root) %{_prefix}/lib/polkit-1/polkit-agent-helper-1
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
@ -127,6 +125,11 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/*.la
|
||||
%{_datadir}/gtk-doc
|
||||
|
||||
%changelog
|
||||
* Thu Jun 07 2012 David Zeuthen <davidz@redhat.com> 0.106-1%{?dist}
|
||||
- Update to upstream release 0.106
|
||||
- Authorizations are no longer controlled by .pkla files - from now
|
||||
on, use the new .rules files described in the polkit(8) man page
|
||||
|
||||
* Tue Apr 24 2012 David Zeuthen <davidz@redhat.com> 0.105-1%{?dist}
|
||||
- Update to upstream release 0.105
|
||||
- Nuke patches that are now upstream
|
||||
|
Loading…
Reference in New Issue
Block a user