Fix of the fix.
This commit is contained in:
parent
f06ce423ea
commit
c66c409015
@ -25,7 +25,7 @@ index 7da807bd68..13e90f7327 100644
|
|||||||
+ # We can't rely on ElementTree sorting XML attrs in any way since Python 3.7.
|
+ # We can't rely on ElementTree sorting XML attrs in any way since Python 3.7.
|
||||||
remediation_functions = re.findall(
|
remediation_functions = re.findall(
|
||||||
- r'<Value hidden=\"true\" id=\"function_(\S+)\"',
|
- r'<Value hidden=\"true\" id=\"function_(\S+)\"',
|
||||||
+ r'<Value.*id=\"function_(\S+)\"',
|
+ r'<Value[^>]*id=\"function_(\S+)\"',
|
||||||
filestring, re.DOTALL
|
filestring, re.DOTALL
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Name: scap-security-guide
|
Name: scap-security-guide
|
||||||
Version: 0.1.47
|
Version: 0.1.47
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Security guidance and baselines in SCAP formats
|
Summary: Security guidance and baselines in SCAP formats
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/ComplianceAsCode/content/
|
URL: https://github.com/ComplianceAsCode/content/
|
||||||
@ -64,6 +64,8 @@ cd build
|
|||||||
%doc %{_docdir}/%{name}/tables/*.html
|
%doc %{_docdir}/%{name}/tables/*.html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 09 2019 Matěj Týč <matyc@redhat.com> - 0.1.47-2
|
||||||
|
- Hotfix of the XML parsing fix.
|
||||||
|
|
||||||
* Mon Dec 09 2019 Matěj Týč <matyc@redhat.com> - 0.1.47-1
|
* Mon Dec 09 2019 Matěj Týč <matyc@redhat.com> - 0.1.47-1
|
||||||
- Update to latest upstream SCAP-Security-Guide-0.1.47 release:
|
- Update to latest upstream SCAP-Security-Guide-0.1.47 release:
|
||||||
|
Loading…
Reference in New Issue
Block a user