[polkit/f17] Fix a race on PolkitSubject type registration (#853316)
Tomas Bzatek
tbzatek at fedoraproject.org
Wed May 29 14:51:00 UTC 2013
commit df01f6f285ec0c9f3149ff45d0c7e6f2d03b6bce
Author: Tomas Bzatek <tbzatek at redhat.com>
Date: Wed May 29 16:50:45 2013 +0200
Fix a race on PolkitSubject type registration (#853316)
polkit.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/polkit.spec b/polkit.spec
index 897e144..d346f01 100644
--- a/polkit.spec
+++ b/polkit.spec
@@ -1,7 +1,7 @@
Summary: PolicyKit Authorization Framework
Name: polkit
Version: 0.104
-Release: 6%{?dist}
+Release: 7%{?dist}
License: LGPLv2+
URL: http://www.freedesktop.org/wiki/Software/PolicyKit
Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
@@ -30,6 +30,10 @@ Patch0: 0001-PolkitUnixSession-Set-error-if-we-cannot-find-a-sess.patch
Patch1: 0002-PolkitUnixSession-Actually-return-TRUE-if-a-session-.patch
Patch2: 0001-PolkitAgentSession-Don-t-leak-file-descriptors.patch
+# https://bugzilla.redhat.com/show_bug.cgi?id=853316
+# Use GOnce for interface type registration
+Patch3: polkit-0.112-gobject-interface-type-registration-race.patch
+
%description
PolicyKit is a toolkit for defining and handling authorizations.
It is used for allowing unprivileged processes to speak to privileged
@@ -63,6 +67,7 @@ Development documentation for PolicyKit.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1 -b .gtype-race
%build
%configure --enable-gtk-doc \
@@ -133,6 +138,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/*.la
%{_datadir}/gtk-doc
%changelog
+* Wed May 29 2013 Tomas Bzatek <tbzatek at redhat.com> 0.104-7%{?dist}
+- Fix a race on PolkitSubject type registration (#853316)
+
* Thu Mar 08 2012 David Zeuthen <davidz at redhat.com> 0.104-6%{?dist}
- Don't leak file descriptors (bgo #671486)
More information about the scm-commits
mailing list