Add AlmaLinux 9 support
This commit is contained in:
parent
c765dbf87f
commit
f68f0f633d
25174
SOURCES/scap-security-guide-0.1.60-add-almalinux9-product.patch
Normal file
25174
SOURCES/scap-security-guide-0.1.60-add-almalinux9-product.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: scap-security-guide
|
Name: scap-security-guide
|
||||||
Version: 0.1.60
|
Version: 0.1.60
|
||||||
Release: 6%{?dist}
|
Release: 6%{?dist}.alma
|
||||||
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/
|
||||||
@ -65,6 +65,9 @@ Patch47: scap-security-guide-0.1.61-fix_bug_in_delta_tailering_script-PR_8245.pa
|
|||||||
Patch48: scap-security-guide-0.1.61-fix_enable_fips_mode-PR_8255.patch
|
Patch48: scap-security-guide-0.1.61-fix_enable_fips_mode-PR_8255.patch
|
||||||
Patch49: scap-security-guide-0.1.61-update_rhel9_gpg_key-PR_8411.patch
|
Patch49: scap-security-guide-0.1.61-update_rhel9_gpg_key-PR_8411.patch
|
||||||
|
|
||||||
|
# AlmaLinux 9
|
||||||
|
Patch1000: scap-security-guide-0.1.60-add-almalinux9-product.patch
|
||||||
|
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
BuildRequires: expat
|
BuildRequires: expat
|
||||||
BuildRequires: openscap-scanner >= 1.2.5
|
BuildRequires: openscap-scanner >= 1.2.5
|
||||||
@ -97,7 +100,7 @@ The %{name}-doc package contains HTML formatted documents containing
|
|||||||
hardening guidances that have been generated from XCCDF benchmarks
|
hardening guidances that have been generated from XCCDF benchmarks
|
||||||
present in %{name} package.
|
present in %{name} package.
|
||||||
|
|
||||||
%if ( %{defined rhel} && (! %{defined centos}) )
|
%if %{defined rhel}
|
||||||
%package rule-playbooks
|
%package rule-playbooks
|
||||||
Summary: Ansible playbooks per each rule.
|
Summary: Ansible playbooks per each rule.
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
@ -118,6 +121,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%{almalinux}:BOOLEAN=TRUE -DSSG_SCIENTIFIC_LINUX_DERIVATIVES_ENABLED:BOOL=OFF -DSSG_CENTOS_DERIVATIVES_ENABLED:BOOL=OFF -DSSG_ANSIBLE_PLAYBOOKS_PER_RULE_ENABLED:BOOL=ON
|
||||||
|
%endif
|
||||||
|
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
%build
|
%build
|
||||||
@ -143,13 +149,16 @@ rm %{buildroot}/%{_docdir}/%{name}/Contributors.md
|
|||||||
%doc %{_docdir}/%{name}/guides/*.html
|
%doc %{_docdir}/%{name}/guides/*.html
|
||||||
%doc %{_docdir}/%{name}/tables/*.html
|
%doc %{_docdir}/%{name}/tables/*.html
|
||||||
|
|
||||||
%if ( %{defined rhel} && (! %{defined centos}) )
|
%if %{defined rhel}
|
||||||
%files rule-playbooks
|
%files rule-playbooks
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_datadir}/%{name}/ansible/rule_playbooks
|
%{_datadir}/%{name}/ansible/rule_playbooks
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 25 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 0.1.60.6.alma
|
||||||
|
- Add AlmaLinux 9 support
|
||||||
|
|
||||||
* Thu Mar 24 2022 Gabriel Becker <ggasparb@redhat.com> - 0.1.60-6
|
* Thu Mar 24 2022 Gabriel Becker <ggasparb@redhat.com> - 0.1.60-6
|
||||||
- Update RHEL9 auxiliary GPG key references (RHBZ#2067109)
|
- Update RHEL9 auxiliary GPG key references (RHBZ#2067109)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user