From d463db3293efc165ae6253a3e88bed7f40e61f94 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Mon, 4 Feb 2013 14:11:28 -0500 Subject: [PATCH] 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. --- setroubleshoot.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/setroubleshoot.spec b/setroubleshoot.spec index 5e98435..1e8ee7c 100644 --- a/setroubleshoot.spec +++ b/setroubleshoot.spec @@ -88,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/ @@ -141,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* @@ -164,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*