summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firstaidkit.spec2
-rw-r--r--plugins/openscap_plugin.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/firstaidkit.spec b/firstaidkit.spec
index dfeb636..76320f3 100644
--- a/firstaidkit.spec
+++ b/firstaidkit.spec
@@ -185,6 +185,7 @@ packet.
%{__install} -p frontend/*.py $RPM_BUILD_ROOT/usr/share/firstaidkit/frontend/
%{__install} -p frontend/*.glade $RPM_BUILD_ROOT/usr/share/firstaidkit/frontend/
%{__install} -p frontend/*.gladep $RPM_BUILD_ROOT/usr/share/firstaidkit/frontend/
+%{__install} -p frontend/*.xml $RPM_BUILD_ROOT/usr/share/firstaidkit/frontend/
%{__install} -d $RPM_BUILD_ROOT/usr/share/icons
%{__install} -p images/FAK-bandaid.png $RPM_BUILD_ROOT/usr/share/icons/firstaidkit.png
desktop-file-install --vendor="fedora" --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE3}
@@ -233,6 +234,7 @@ desktop-file-install --vendor="fedora" --dir=${RPM_BUILD_ROOT}%{_datadir}/applic
%defattr(-,root,root,-)
/usr/share/firstaidkit/frontend/*.py*
/usr/share/firstaidkit/frontend/*.glade
+/usr/share/firstaidkit/frontend/*.xml
/usr/share/firstaidkit/frontend/*.gladep
/usr/share/icons/*.png
%{_datadir}/applications/*.desktop
diff --git a/plugins/openscap_plugin.py b/plugins/openscap_plugin.py
index 412c31b..fcb2b4d 100644
--- a/plugins/openscap_plugin.py
+++ b/plugins/openscap_plugin.py
@@ -139,6 +139,7 @@ class OpenSCAPPlugin(Plugin):
else:
return 1
+
def diagnose(self):
for x in self._policy.get_selected_rules():
self._reporting.info("Selecting rule "+x.item, origin = self, level = PLUGIN)