Fix a race on PolkitSubject type registration (#853316)
This commit is contained in:
parent
ebcac033f0
commit
df01f6f285
10
polkit.spec
10
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@redhat.com> 0.104-7%{?dist}
|
||||
- Fix a race on PolkitSubject type registration (#853316)
|
||||
|
||||
* Thu Mar 08 2012 David Zeuthen <davidz@redhat.com> 0.104-6%{?dist}
|
||||
- Don't leak file descriptors (bgo #671486)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user