[setroubleshoot/f16] Fixup for memory leaks
Daniel J Walsh
dwalsh at fedoraproject.org
Tue Jan 17 19:08:50 UTC 2012
commit f418da0e5ad3f7c2aaf484038aede5d1087c2615
Author: Dan Walsh <dwalsh at redhat.com>
Date: Tue Jan 17 14:08:46 2012 -0500
Fixup for memory leaks
.gitignore | 2 ++
setroubleshoot.spec | 29 +++++++++++++++++++++--------
sources | 2 +-
3 files changed, 24 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index df6abd9..5b33281 100644
--- a/.gitignore
+++ b/.gitignore
@@ -142,3 +142,5 @@ setroubleshoot-2.2.93.tar.gz
/setroubleshoot-3.0.43.tar.gz
/setroubleshoot-3.0.44.tar.gz
/setroubleshoot-3.0.45.tar.gz
+/setroubleshoot-3.0.46.tar.gz
+/setroubleshoot-3.0.47.tar.gz
diff --git a/setroubleshoot.spec b/setroubleshoot.spec
index 4e644c6..b09ac42 100644
--- a/setroubleshoot.spec
+++ b/setroubleshoot.spec
@@ -1,6 +1,6 @@
Summary: Helps troubleshoot SELinux problems
Name: setroubleshoot
-Version: 3.0.45
+Version: 3.0.47
Release: 1%{?dist}
License: GPLv2+
Group: Applications/System
@@ -58,25 +58,28 @@ to user preference. The same tools can be run on existing log files.
%defattr(-,root,root,-)
%{pkgguidir}
%config(noreplace) %{_sysconfdir}/xdg/autostart/*
-%config %{_datadir}/applications/*.desktop
+%{_datadir}/applications/*.desktop
%{_datadir}/dbus-1/services/sealert.service
-%{_datadir}/icons/hicolor
+%{_datadir}/icons/hicolor/*/*/*
%dir %attr(0755,root,root) %{pkgpythondir}
%{pkgpythondir}/browser.py*
%{pkgpythondir}/gui_utils.py*
%{_bindir}/seapplet
%post
-/usr/bin/desktop-file-install %{_datadir}/applications 2> /dev/null
touch --no-create %{_datadir}/icons/hicolor || :
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
dbus-send --system /com/redhat/setroubleshootd com.redhat.SEtroubleshootdIface.restart string:'rpm install' >/dev/null 2>&1 || :
%postun
-/usr/bin/update-desktop-database %{_datadir}/applications 2> /dev/null
-touch --no-create %{_datadir}/icons/hicolor
+if [ $1 -eq 0 ] ; then
+touch --no-create %{_datadir}/icons/hicolor || :
+%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
+%posttrans
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+
%prep
%setup -q
@@ -202,7 +205,17 @@ Setroubleshoot documentation package
%{pkgdocdir}/setroubleshoot*
%changelog
-* Tue Dec 19 2011 <dwalsh at redhat.com> - 3.0.45-1
+* Tue Jan 17 2012 Dan Walsh <dwalsh at redhat.com> - 3.0.47-1
+- Fixup for memory leaks
+
+* Fri Jan 6 2012 Dan Walsh <dwalsh at redhat.com> - 3.0.45-1
+- Update to latest translations
+
+* Fri Dec 23 2011 Rex Dieter <rdieter at fedoraproject.org> 3.0.45-2
+- optimize/update scriptlets
+- don't own icons/hicolor
+- drop %%config tag on applications/*.desktop
+
- Patch from Mgrepl to stop printable from crashing if None is passed in
- Update to latest translations
diff --git a/sources b/sources
index cefe507..5d6ab2e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7f31dc8b66213ae1c872fb493d0519c1 setroubleshoot-3.0.45.tar.gz
+5f86b3ff7aa786378dc09d19fe63376d setroubleshoot-3.0.47.tar.gz
More information about the scm-commits
mailing list