[polkit] * Thu Jun 07 2012 David Zeuthen <davidz at redhat.com> 0.106-1.fc18 - Update to upstream release 0.106

David Zeuthen davidz at fedoraproject.org
Thu Jun 7 18:06:30 UTC 2012


commit 413036b7c73b8c1224569dd32e8c7d8248eab246
Author: David Zeuthen <zeuthen at gmail.com>
Date:   Thu Jun 7 14:05:54 2012 -0400

    * Thu Jun 07 2012 David Zeuthen <davidz at 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

 .gitignore  |    1 +
 polkit.spec |   43 +++++++++++++++++++++++--------------------
 sources     |    2 +-
 3 files changed, 25 insertions(+), 21 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 23ef119..671af6a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/polkit.spec b/polkit.spec
index b0dd091..fcf6f18 100644
--- a/polkit.spec
+++ b/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 at 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 at redhat.com> 0.105-1%{?dist}
 - Update to upstream release 0.105
 - Nuke patches that are now upstream
diff --git a/sources b/sources
index 3c8e936..11a7067 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9c29e1b6c214f0bd6f1d4ee303dfaed9  polkit-0.105.tar.gz
+739d1ca4bf3462175030ce3d7771d7fa  polkit-0.106.tar.gz


More information about the scm-commits mailing list