|
|
|
@ -6,13 +6,16 @@
|
|
|
|
|
|
|
|
|
|
Name: scap-security-guide
|
|
|
|
|
Version: 0.1.73
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 1%{?dist}.inferit
|
|
|
|
|
Summary: Security guidance and baselines in SCAP formats
|
|
|
|
|
License: BSD-3-Clause
|
|
|
|
|
URL: https://github.com/ComplianceAsCode/content/
|
|
|
|
|
Source0: https://github.com/ComplianceAsCode/content/releases/download/v%{version}/scap-security-guide-%{version}.tar.bz2
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
# MSVSphere
|
|
|
|
|
Patch1000: scap-security-guide-0.1.73-add-msvsphere9-product.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: libxslt
|
|
|
|
|
BuildRequires: expat
|
|
|
|
|
BuildRequires: openscap-scanner >= 1.2.5
|
|
|
|
@ -44,7 +47,7 @@ The %{name}-doc package contains HTML formatted documents containing
|
|
|
|
|
hardening guidances that have been generated from XCCDF benchmarks
|
|
|
|
|
present in %{name} package.
|
|
|
|
|
|
|
|
|
|
%if ( %{defined rhel} && (! %{defined centos}) )
|
|
|
|
|
%if %{defined rhel}
|
|
|
|
|
%package rule-playbooks
|
|
|
|
|
Summary: Ansible playbooks per each rule.
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
@ -65,6 +68,10 @@ The %{name}-rule-playbooks package contains individual ansible playbooks per rul
|
|
|
|
|
%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
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?msvsphere}
|
|
|
|
|
%define cmake_defines_specific -DSSG_PRODUCT_DEFAULT:BOOLEAN=FALSE -DSSG_PRODUCT_MSVSPHERE%{msvsphere}: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
|
|
|
|
|
%build
|
|
|
|
@ -90,13 +97,17 @@ rm %{buildroot}/%{_docdir}/%{name}/Contributors.md
|
|
|
|
|
%doc %{_docdir}/%{name}/guides/*.html
|
|
|
|
|
%doc %{_docdir}/%{name}/tables/*.html
|
|
|
|
|
|
|
|
|
|
%if ( %{defined rhel} && (! %{defined centos}) )
|
|
|
|
|
%if %{defined rhel}
|
|
|
|
|
%files rule-playbooks
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_datadir}/%{name}/ansible/rule_playbooks
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Aug 20 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 0.1.73-1.inferit
|
|
|
|
|
- Try to add MSVSphere security profiles
|
|
|
|
|
- Rebuilt for MSVSphere 9.4
|
|
|
|
|
|
|
|
|
|
* Mon May 20 2024 Vojtech Polasek <vpolasek@redhat.com> - 0.1.73-1
|
|
|
|
|
- Rebase to a new upstream release 0.1.73 (RHEL-36663)
|
|
|
|
|
- Correctly parse sudo options even if they are not quoted (RHEL-31976)
|
|
|
|
|