client/rhel/spacewalk-oscap/scap.py | 10 +++++++++-
client/rhel/spacewalk-oscap/spacewalk-oscap.spec | 2 +-
2 files changed, 10 insertions(+), 2 deletions(-)
New commits:
commit 365a4b0135985795e16fee0122a3ed87e9afbbf1
Author: Simon Lukasik <slukasik(a)redhat.com>
Date: Thu Nov 1 16:47:47 2012 +0100
872248: Enable new `oscap' features in spacewalk-openscap.
diff --git a/client/rhel/spacewalk-oscap/scap.py b/client/rhel/spacewalk-oscap/scap.py
index 01dba2c..10106fd 100644
--- a/client/rhel/spacewalk-oscap/scap.py
+++ b/client/rhel/spacewalk-oscap/scap.py
@@ -59,7 +59,15 @@ def _process_params(args, filename):
params = ['--results', filename]
errors = ''
if args:
- allowed_args = {'--profile': 1, '--skip-valid': 0}
+ allowed_args = {
+ '--profile': 1,
+ '--skip-valid': 0,
+ '--cpe-dict': 1,
+ '--cpe-dict2': 1,
+ '--fetch-remote-resources': 0,
+ '--datastream-id': 1,
+ '--xccdf-id': 1,
+ }
args = args.split(' ')
i = 0
while i < len(args):
diff --git a/client/rhel/spacewalk-oscap/spacewalk-oscap.spec
b/client/rhel/spacewalk-oscap/spacewalk-oscap.spec
index f5cba56..0b6631b 100644
--- a/client/rhel/spacewalk-oscap/spacewalk-oscap.spec
+++ b/client/rhel/spacewalk-oscap/spacewalk-oscap.spec
@@ -11,7 +11,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u}
-n)
BuildArch: noarch
BuildRequires: python-devel
BuildRequires: rhnlib
-Requires: openscap-utils >= 0.8.0
+Requires: openscap-utils >= 0.9.2
Requires: libxslt
Requires: rhnlib
Requires: rhn-check
Show replies by date