[polkit] Update to upstream release 0.108
David Zeuthen
davidz at fedoraproject.org
Wed Nov 14 19:16:06 UTC 2012
commit b0678ca050bf03222cb7cbfac3f29195d86218da
Author: David Zeuthen <zeuthen at gmail.com>
Date: Wed Nov 14 14:15:33 2012 -0500
Update to upstream release 0.108
- Drop upstreamed patches
- This release dynamically loads the JavaScript interpreter and can
cope with it not being available. In this case, polkit authorization
rules are not processed and the defaults for an action - as defined
in its .policy file - are used for authorization decisions.
- Add new meta-package, polkit-js-engine, that pulls in the required
JavaScript bits to make polkit authorization rules work. The default
install - not the minimal install - should include this package
.gitignore | 1 +
...g-if-initializing-the-server-object-fails.patch | 32 ------------
...k-to-uid0-if-no-admin-users-are-available.patch | 52 --------------------
polkit.spec | 39 ++++++++++++---
sources | 2 +-
5 files changed, 34 insertions(+), 92 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 392e1a9..315fd32 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,4 @@ polkit-0.98.tar.gz
/polkit-0.105.tar.gz
/polkit-0.106.tar.gz
/polkit-0.107.tar.gz
+/polkit-0.108.tar.gz
diff --git a/polkit.spec b/polkit.spec
index e811e84..7cfc73f 100644
--- a/polkit.spec
+++ b/polkit.spec
@@ -1,7 +1,7 @@
Summary: polkit Authorization Framework
Name: polkit
-Version: 0.107
-Release: 4%{?dist}
+Version: 0.108
+Release: 1%{?dist}
License: LGPLv2+
URL: http://www.freedesktop.org/wiki/Software/polkit
Source0: http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
@@ -29,9 +29,6 @@ Conflicts: polkit-gnome < 0.97
Obsoletes: polkit-desktop-policy < 0.103
Provides: polkit-desktop-policy = 0.103
-Patch0: polkit-0.107-fall-back-to-uid0-if-no-admin-users-are-available.patch
-Patch1: polkit-0.107-avoid-crashing-if-initializing-the-server-object-fails.patch
-
%description
polkit is a toolkit for defining and handling authorizations. It is
used for allowing unprivileged processes to speak to privileged
@@ -60,10 +57,17 @@ BuildArch: noarch
%description docs
Development documentation for polkit.
+%package js-engine
+Summary: Meta-package for JavaScript engine used by polkit
+Group: Development/Libraries
+Requires: %name = %{version}-%{release}
+Requires: js
+
+%description js-engine
+Meta-package for JavaScript engine used by polkit.
+
%prep
%setup -q
-%patch0 -p1 -b .fall-back-to-uid-0
-%patch1 -p1 -b .crash-fix
%build
%configure --enable-gtk-doc \
@@ -79,6 +83,12 @@ make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/*.la
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/polkit-js-engine-%{version}
+cat > $RPM_BUILD_ROOT%{_datadir}/doc/polkit-js-engine-%{version}/README << EOF
+This is a meta-package to pull in the required JavaScript packages to
+make polkit authorization rules work.
+EOF
+
%find_lang polkit-1
%pre
@@ -131,7 +141,22 @@ exit 0
%defattr(-,root,root,-)
%{_datadir}/gtk-doc
+%files js-engine
+%defattr(-,root,root,-)
+%{_datadir}/doc/polkit-js-engine-%{version}/README
+
%changelog
+* Wed Nov 14 2012 David Zeuthen <davidz at redhat.com> 0.108-1%{?dist}
+- Update to upstream release 0.108
+- Drop upstreamed patches
+- This release dynamically loads the JavaScript interpreter and can
+ cope with it not being available. In this case, polkit authorization
+ rules are not processed and the defaults for an action - as defined
+ in its .policy file - are used for authorization decisions.
+- Add new meta-package, polkit-js-engine, that pulls in the required
+ JavaScript bits to make polkit authorization rules work. The default
+ install - not the minimal install - should include this package
+
* Wed Oct 10 2012 Adam Jackson <ajax at redhat.com> 0.107-4
- Don't crash if initializing the server object fails
diff --git a/sources b/sources
index b923bae..965689a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0e4f9c53f43fd1b25ac3f0d2e09b2ae1 polkit-0.107.tar.gz
+55cd17b20030d895a7ecf1b9c9b32fb6 polkit-0.108.tar.gz
More information about the scm-commits
mailing list