[setroubleshoot/f18] Fix handling of sesearch data

Daniel J Walsh dwalsh at fedoraproject.org
Mon Mar 4 16:56:26 UTC 2013


commit 9c4faa9b99d09c36ed763e6511fc20632be4b58c
Author: Dan Walsh <dwalsh at redhat.com>
Date:   Mon Mar 4 11:56:21 2013 -0500

    Fix handling of sesearch data

 .gitignore          |    5 ++++-
 setroubleshoot.spec |   30 +++++++++++++++++++++++-------
 sources             |    2 +-
 3 files changed, 28 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 79a746e..721fb36 100644
--- a/.gitignore
+++ b/.gitignore
@@ -160,4 +160,7 @@ setroubleshoot-2.2.93.tar.gz
 /setroubleshoot-3.1.16.tar.gz
 /setroubleshoot-3.1.17.tar.gz
 /setroubleshoot-3.1.18.tar.gz
-/setroubleshoot-3.1.19.tar.gz
+/setroubleshoot-3.1.20.tar.gz
+/setroubleshoot-3.1.21.tar.gz
+/setroubleshoot-3.2.1.tar.gz
+/setroubleshoot-3.2.2.tar.gz
diff --git a/setroubleshoot.spec b/setroubleshoot.spec
index d55a3f1..9d079f9 100644
--- a/setroubleshoot.spec
+++ b/setroubleshoot.spec
@@ -1,7 +1,7 @@
 Summary: Helps troubleshoot SELinux problems
 Name: setroubleshoot
-Version: 3.1.19
-Release: 3%{?dist}
+Version: 3.2.2
+Release: 1%{?dist}
 License: GPLv2+
 Group: Applications/System
 URL: https://fedorahosted.org/setroubleshoot
@@ -64,12 +64,14 @@ to user preference. The same tools can be run on existing log files.
 %post
 touch --no-create %{_datadir}/icons/hicolor || :
 dbus-send --system /com/redhat/setroubleshootd com.redhat.SEtroubleshootdIface.restart string:'rpm install' >/dev/null 2>&1 || :
+%systemd_post auditd.service
 
 %postun
 if [ $1 -eq 0 ] ; then
 touch --no-create %{_datadir}/icons/hicolor || :
 %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
 fi
+%systemd_postun_with_restart auditd.service
 
 %posttrans
 %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
@@ -86,6 +88,7 @@ make
 rm -rf %{buildroot}
 make DESTDIR=%{buildroot} install
 desktop-file-install --vendor="" --dir=%{buildroot}%{_datadir}/applications %{buildroot}/%{_datadir}/applications/%{name}.desktop
+mkdir -p %{buildroot}%{pkgvardatadir}
 touch %{buildroot}%{pkgdatabase}
 touch %{buildroot}%{pkgvardatadir}/email_alert_recipients
 rm -rf %{buildroot}/usr/share/doc/
@@ -106,7 +109,7 @@ Requires: policycoreutils-devel
 BuildRequires: intltool gettext python
 BuildRequires: setools-devel >= 3.3.7-19
 BuildRequires: python-devel
-Requires: python-slip-dbus
+Requires: python-slip-dbus systemd-python
 
 Requires(post):   /sbin/chkconfig
 Requires(post):   /sbin/service
@@ -139,11 +142,9 @@ rm -rf %{buildroot}
 %{_bindir}/sealert
 %{_sbindir}/sedispatch
 %{_sbindir}/setroubleshootd
-%{python_sitelib}/sesearch*.egg-info
 %{python_sitelib}/setroubleshoot*.egg-info
 %dir %attr(0755,root,root) %{pkgconfigdir}
 %dir %attr(0755,root,root) %{pkgpythondir}
-%dir %attr(0755,root,root) %{pkgpythondir}/sesearch
 %{pkgpythondir}/Plugin.py*
 %{pkgpythondir}/__init__.py*
 %{pkgpythondir}/access_control.py*
@@ -162,8 +163,6 @@ rm -rf %{buildroot}
 %{pkgpythondir}/util.py*
 %{pkgpythondir}/uuid.py*
 %{pkgpythondir}/xml_serialize.py*
-%{pkgpythondir}/sesearch/__init__.py*
-%attr(0755,root,root) %{pkgpythondir}/sesearch/_sesearch.so
 %attr(0755,root,root) %{pkgpythondir}/default_encoding_utf8.so
 %dir %{pkgdatadir}
 %{pkgdatadir}/SetroubleshootFixit.py*
@@ -183,6 +182,23 @@ rm -rf %{buildroot}
 %{_datadir}/dbus-1/system-services/org.fedoraproject.SetroubleshootFixit.service
 
 %changelog
+* Fri Feb 15 2013 Dan Walsh <dwalsh at redhat.com> - 3.2.2-1
+- Fix handling of sesearch data
+
+* Thu Jan 31 2013 Dan Walsh <dwalsh at redhat.com> - 3.2.1-1
+- Remove sesearch from package and start using sepolicy from policycoreutils-python
+- Fix retrieval of writable types to translate attributes into the group of types available, and not return non file types.
+
+* Fri Jan 25 2013 Dan Walsh <dwalsh at redhat.com> - 3.1.21-2
+- Need to add a requires for systemd-python
+
+* Mon Jan 14 2013 Dan Walsh <dwalsh at redhat.com> - 3.1.21-1
+- Update translations.
+- Restart auditd service on install and removal
+
+* Mon Jan 14 2013 Dan Walsh <dwalsh at redhat.com> - 3.1.20-1
+- Update translations.
+
 * Wed Dec 5 2012 Dan Walsh <dwalsh at redhat.com> - 3.1.19-2
 - Require policycoreutils-devel to pull in audit2allow
 
diff --git a/sources b/sources
index c99f3ee..cbbda5f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0d0ed800140d23ce1b448229133826a2  setroubleshoot-3.1.19.tar.gz
+77d4d4ccc74e892720eec96f790d9385  setroubleshoot-3.2.2.tar.gz


More information about the scm-commits mailing list