17
0

1 Commits

Author SHA256 Message Date
25cfa5d4e1 Remove the cis profiles from the tarball 2025-08-25 13:05:19 +03:00
4 changed files with 21 additions and 5040 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Aug 21 08:24:36 UTC 2025 - Boychev <svetlin.boychev@suse.com>
- Remove the cis profiles from the tarball
-------------------------------------------------------------------
Thu Aug 21 07:26:39 UTC 2025 - Boychev <svetlin.boychev@suse.com>
- Remove ssg-remove-cis.patch: tarball
- Add check if cis profiles exists in the tarball
-------------------------------------------------------------------
Wed Jul 30 07:41:26 UTC 2025 - Boychev <svetlin.boychev@suse.com>

View File

@@ -50,8 +50,7 @@ URL: https://github.com/ComplianceAsCode/content
%if "%{_vendor}" == "debbuild"
Packager: SUSE Security Team <security@suse.de>
%endif
Source: https://github.com/ComplianceAsCode/content/archive/v%{version}.tar.gz
Patch0: ssg-remove-cis.patch
Source: v%{version}.tar.gz
# explicit require what is needed by the detection logic in the scripts
Requires: coreutils
@@ -218,7 +217,13 @@ Note that the included profiles are community supplied and not officially suppor
%prep
%setup -q -n content-%version
%patch -P 0
# Fail if any cis*.profile exists in the tarball under products/
if find products -type f -name 'cis*.profile' | grep -q .; then
echo "ERROR: CIS profiles found in the tarball under products/:"
find products -type f -name 'cis*.profile'
exit 1
fi
%build
cd build

File diff suppressed because it is too large Load Diff

BIN
v0.1.77.tar.gz LFS

Binary file not shown.