Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package scap-security-guide for
openSUSE:Factory checked in at 2026-12-01 17:00:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/scap-security-guide (Old)
and /work/SRC/openSUSE:Factory/.scap-security-guide.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "scap-security-guide"
Tue Dec 1 17:00:31 2026 rev:50 rq:1401887 version:0.1.83
Changes:
--------
--- /work/SRC/openSUSE:Factory/scap-security-guide/scap-security-guide.changes
2026-09-16 17:47:58.910148642 +0200
+++
/work/SRC/openSUSE:Factory/.scap-security-guide.new.1340718/scap-security-guide.changes
2026-12-01 17:04:09.796195815 +0100
@@ -1,0 +2,28 @@
+Mon Nov 30 14:30:00 UTC 2026 - Boychev <[email protected]>
+
+- Fix build failure on SLE15 SP6 (Python 3.6 AST compatibility):
+ * Add ssg-fix-python36-ast.patch: Support pre-Python-3.8 AST
+ literal nodes (Str, Num, NameConstant, Bytes) in safe_eval_filter
+- Fix SLE16 unpackaged files error:
+ * Package AlmaLinux 9 HTML tables in scap-security-guide-redhat
+- Fix duplicate file packaging warning for tencentos4
+
+-------------------------------------------------------------------
+Mon Nov 30 12:34:40 UTC 2026 - Boychev <[email protected]>
+
+- updated to 0.1.83: (jsc#ECO-3319)
+ - SLEM6: Create General profile
+ - SLEM6: Add PCIDSS4 profile
+ - SLE15 update STIG version to V2R9
+ - SLEM5 update STIG version to V1R5
+ - Add UOS Desktop 20 product
+ - Add UOS Desktop 25 product
+ - Add UOS Server 25 product
+ - Update Ubuntu 24.04 STIG profile from V1R5 to V1R6
+ - RHEL8: Update DISA STIG from v2r8 to v2r9
+ - RHEL9: Update DISA STIG from v2r9 to v2r10
+ - RHEL9: Update DISA STIG from v2r9 to v2r10
+ - Various updates for SLE 12/15/16
+ - Various updates for SLEM 5/6
+
+-------------------------------------------------------------------
Old:
----
v0.1.82.tar.gz
New:
----
ssg-fix-python36-ast.patch
v0.1.83.tar.gz
----------(New B)----------
New:- Fix build failure on SLE15 SP6 (Python 3.6 AST compatibility):
* Add ssg-fix-python36-ast.patch: Support pre-Python-3.8 AST
literal nodes (Str, Num, NameConstant, Bytes) in safe_eval_filter
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ scap-security-guide.spec ++++++
--- /var/tmp/diff_new_pack.3mc1Sx/_old 2026-12-01 17:04:11.301259386 +0100
+++ /var/tmp/diff_new_pack.3mc1Sx/_new 2026-12-01 17:04:11.303259470 +0100
@@ -42,7 +42,7 @@
%endif
Name: scap-security-guide
-Version: 0.1.82
+Version: 0.1.83
Release: 0
Summary: XCCDF files for SUSE Linux and openSUSE
License: BSD-3-Clause
@@ -51,6 +51,7 @@
Packager: SUSE Security Team <[email protected]>
%endif
Source:
https://github.com/ComplianceAsCode/content/archive/v%{version}.tar.gz
+Patch0: ssg-fix-python36-ast.patch
# explicit require what is needed by the detection logic in the scripts
Requires: coreutils
@@ -217,6 +218,7 @@
%prep
%setup -q -n content-%version
+%patch -P 0 -p1
# Remove CIS profiles
find products -type f -name 'cis*.profile' -delete
@@ -275,6 +277,9 @@
-DSSG_PRODUCT_UBUNTU2204=ON \
-DSSG_PRODUCT_UBUNTU2604=OFF \
-DSSG_PRODUCT_UOS20=OFF \
+ -DSSG_PRODUCT_UOSDESKTOP20=OFF \
+ -DSSG_PRODUCT_UOSDESKTOP25=OFF \
+ -DSSG_PRODUCT_UOSSERVER25=OFF \
-DSSG_PRODUCT_VSEL=OFF \
-DSSG_PRODUCT_EKS=OFF \
-DSSG_PRODUCT_WRLINUX8=OFF \
@@ -334,6 +339,7 @@
%doc %{_datadir}/doc/scap-security-guide/guides/ssg-rh*
%doc %{_datadir}/doc/scap-security-guide/guides/ssg-tencentos*
%dir %{_datadir}/doc/scap-security-guide/tables/
+%doc %{_datadir}/doc/scap-security-guide/tables/table-alma*
%doc %{_datadir}/doc/scap-security-guide/tables/table-ol*
%doc %{_datadir}/doc/scap-security-guide/tables/table-rh*
%dir %{_datadir}/doc/scap-security-guide/
@@ -343,7 +349,7 @@
%dir %{_datadir}/scap-security-guide/bash/
%dir %{_datadir}/scap-security-guide/kickstart/
%{_datadir}/scap-security-guide/*/*alma*
-%{_datadir}/scap-security-guide/*/*centos*
+%{_datadir}/scap-security-guide/*/centos*
%{_datadir}/scap-security-guide/*/*cs9*
%{_datadir}/scap-security-guide/*/*cs10*
%{_datadir}/scap-security-guide/*/*fedora*
++++++ ssg-fix-python36-ast.patch ++++++
From: Boychev <[email protected]>
Date: Mon, 30 Nov 2026 14:00:00 +0000
Subject: [PATCH] Support pre-Python-3.8 AST literal nodes in safe_eval_filter
In Python 3.8+, all literal constants in the AST were unified into
ast.Constant. However, on older Python versions such as Python 3.6
(used in SLE 15), string literals are parsed as ast.Str, numbers as
ast.Num, True/False/None as ast.NameConstant, and bytes as ast.Bytes.
When safe_eval_filter was introduced in 0.1.83, _eval_filter_ast_node
only handled ast.Constant, causing builds on Python 3.6 to fail with:
ValueError: Unsupported expression type in filter: Str
when evaluating filter_rules expressions containing string literals.
This patch adds fallback support for ast.Str, ast.Num, ast.NameConstant,
and ast.Bytes when running on Python < 3.8.
---
ssg/utils.py | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
--- a/ssg/utils.py
+++ b/ssg/utils.py
@@ -5,6 +5,7 @@
from __future__ import absolute_import
import ast
+import sys
import multiprocessing
import os
import re
@@ -1027,6 +1028,22 @@ def _eval_filter_ast_node(node, context)
raise ValueError(
"Unsupported constant type in filter expression: {}".format(
type(node.value).__name__))
+ elif sys.version_info < (3, 8) and isinstance(node, ast.Str):
+ return node.s
+ elif sys.version_info < (3, 8) and isinstance(node, ast.Num):
+ if isinstance(node.n, (int, float)):
+ return node.n
+ raise ValueError(
+ "Unsupported constant type in filter expression: {}".format(
+ type(node.n).__name__))
+ elif sys.version_info < (3, 8) and isinstance(node, ast.NameConstant):
+ if isinstance(node.value, (bool, type(None))):
+ return node.value
+ raise ValueError(
+ "Unsupported constant type in filter expression: {}".format(
+ type(node.value).__name__))
+ elif sys.version_info < (3, 8) and isinstance(node, ast.Bytes):
+ return node.s
elif isinstance(node, (ast.List, ast.Tuple)):
return [_eval_filter_ast_node(elt, context) for elt in node.elts]
elif isinstance(node, ast.Name):
++++++ v0.1.82.tar.gz -> v0.1.83.tar.gz ++++++
/work/SRC/openSUSE:Factory/scap-security-guide/v0.1.82.tar.gz
/work/SRC/openSUSE:Factory/.scap-security-guide.new.1340718/v0.1.83.tar.gz
differ: char 30, line 1