[polkit] 0.112-9
Rex Dieter
rdieter at fedoraproject.org
Sun Jan 25 19:46:50 UTC 2015
commit ddfe2e6107e37aa6503e4a2a17d7b9430352f81b
Author: Rex Dieter <rdieter at math.unl.edu>
Date: Sun Jan 25 13:47:21 2015 -0600
0.112-9
- polkit doesn't release reference counters of GVariant data (#1180886)
- fix ldconfig scriptlets (move to -libs subpkg)
polkit.spec | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/polkit.spec b/polkit.spec
index 0eb6d33..abcd6bd 100644
--- a/polkit.spec
+++ b/polkit.spec
@@ -6,7 +6,7 @@
Summary: An authorization framework
Name: polkit
Version: 0.112
-Release: 8%{?dist}
+Release: 9%{?dist}
License: LGPLv2+
URL: http://www.freedesktop.org/wiki/Software/polkit
Source0: http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
@@ -19,6 +19,9 @@ Patch1: polkit-0.112-PolkitAgentSession-race.patch
Patch2: polkit-0.112-systemd-Deduplicate-code-paths.patch
# http://cgit.freedesktop.org/polkit/commit/?id=a68f5dfd7662767b7b9822090b70bc5bd145c50c
Patch3: polkit-0.112-systemd-prepare-for-D-Bus-user-bus.patch
+# https://bugs.freedesktop.org/show_bug.cgi?id=88288
+# http://cgit.freedesktop.org/polkit/commit/?id=f4d71e0de885010494b8b0b8d62ca910011d7544
+Patch4: 0018-authority-Fix-memory-leak-in-EnumerateActions-call-r.patch
Group: System Environment/Libraries
BuildRequires: glib2-devel >= 2.30.0
BuildRequires: expat-devel
@@ -97,6 +100,7 @@ Libraries files for polkit.
%patch1 -p1 -b .PolkitAgentSession-race
%patch2 -p1 -b .dbus-user-bus
%patch3 -p1 -b .session-dedup-code
+%patch4 -p1 -b .authority-Fix-memory-leak
%build
%if 0%{?enable_autoreconf}
@@ -126,7 +130,6 @@ getent passwd polkitd >/dev/null || useradd -r -g polkitd -d / -s /sbin/nologin
exit 0
%post
-/sbin/ldconfig
# The implied (systemctl preset) will fail and complain, but the macro hides
# and ignores the fact. This is in fact what we want, polkit.service does not
# have an [Install] section and it is always started on demand.
@@ -136,7 +139,6 @@ exit 0
%systemd_preun polkit.service
%postun
-/sbin/ldconfig
# Not %%systemd_postun_with_restart - let's err on the side of safety, and keep
# the daemon, with its temporary authorizations and agent registrations, running
# after the upgrade as well; it would be unfortunate if the upgrade tool failed
@@ -180,11 +182,18 @@ exit 0
%defattr(-,root,root,-)
%{_datadir}/gtk-doc
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
+
%files libs
%{_libdir}/lib*.so.*
%{_libdir}/girepository-1.0/*.typelib
%changelog
+* Sun Jan 25 2015 Rex Dieter <rdieter at fedoraproject.org> - 0.112-9
+- polkit doesn't release reference counters of GVariant data (#1180886)
+- fix ldconfig scriptlets (move to -libs subpkg)
+
* Sat Nov 08 2014 Colin Walters <walters at redhat.com> - 0.112-8
- Split separate -libs package, so that NetworkManager can just depend on
that, without dragging in the daemon (as well as libmozjs17). This
More information about the scm-commits
mailing list