Add AlmaLinux 10 support

This commit is contained in:
Andrew Lukoshko 2024-09-27 12:18:48 +00:00
parent 8412e759af
commit ae446795eb
2 changed files with 9002 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -5,13 +5,16 @@
Name: scap-security-guide Name: scap-security-guide
Version: 0.1.74 Version: 0.1.74
Release: 1%{?dist} Release: 1%{?dist}.alma.1
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/
Source0: https://github.com/ComplianceAsCode/content/releases/download/v%{version}/scap-security-guide-%{version}.tar.bz2 Source0: https://github.com/ComplianceAsCode/content/releases/download/v%{version}/scap-security-guide-%{version}.tar.bz2
BuildArch: noarch BuildArch: noarch
# AlmaLinux 10 support
Patch1000: scap-security-guide-%{version}-add-almalinux10-product.patch
BuildRequires: libxslt BuildRequires: libxslt
BuildRequires: expat BuildRequires: expat
BuildRequires: openscap-scanner >= 1.2.5 BuildRequires: openscap-scanner >= 1.2.5
@ -66,6 +69,9 @@ The %{name}-rule-playbooks package contains individual ansible playbooks per rul
%if 0%{?centos} %if 0%{?centos}
%define cmake_defines_specific -DSSG_PRODUCT_DEFAULT:BOOLEAN=FALSE -DSSG_PRODUCT_RHEL%{centos}:BOOLEAN=TRUE -DSSG_SCIENTIFIC_LINUX_DERIVATIVES_ENABLED:BOOL=OFF -DSSG_CENTOS_DERIVATIVES_ENABLED:BOOL=ON %define cmake_defines_specific -DSSG_PRODUCT_DEFAULT:BOOLEAN=FALSE -DSSG_PRODUCT_RHEL%{centos}:BOOLEAN=TRUE -DSSG_SCIENTIFIC_LINUX_DERIVATIVES_ENABLED:BOOL=OFF -DSSG_CENTOS_DERIVATIVES_ENABLED:BOOL=ON
%endif %endif
%if 0%{?almalinux}
%define cmake_defines_specific -DSSG_PRODUCT_DEFAULT:BOOLEAN=FALSE -DSSG_PRODUCT_ALMALINUX%{rhel}:BOOLEAN=TRUE -DSSG_SCIENTIFIC_LINUX_DERIVATIVES_ENABLED:BOOL=OFF -DSSG_CENTOS_DERIVATIVES_ENABLED:BOOL=OFF
%endif
mkdir -p build mkdir -p build
%build %build
@ -98,6 +104,9 @@ rm %{buildroot}/%{_docdir}/%{name}/Contributors.md
%endif %endif
%changelog %changelog
* Fri Sep 27 2024 Andrew Lukoshko <alukoshko@almalinux.org> - 0.1.74-1.alma.1
- Add AlmaLinux 10 support
* Fri Aug 09 2024 Matthew Burket <mburket@redhat.com> * Fri Aug 09 2024 Matthew Burket <mburket@redhat.com>
- Update to latest upstream SCAP-Security-Guide-0.1.74 release: - Update to latest upstream SCAP-Security-Guide-0.1.74 release:
https://github.com/ComplianceAsCode/content/releases/tag/v0.1.74 https://github.com/ComplianceAsCode/content/releases/tag/v0.1.74