Accepting request 869052 from home:jengelh:branches:security

factory review output

- Update descriptions, modernize specfile constructs.

OBS-URL: https://build.opensuse.org/request/show/869052
OBS-URL: https://build.opensuse.org/package/show/security/scap-security-guide?expand=0&rev=4
This commit is contained in:
Marcus Meissner 2021-02-04 06:21:11 +00:00 committed by Git OBS Bridge
parent b7ef0e771b
commit be02439f52
2 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 3 23:55:30 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Update descriptions, modernize specfile constructs.
-------------------------------------------------------------------
Wed Feb 3 14:07:22 UTC 2021 - Marcus Meissner <meissner@suse.com>

View File

@ -37,10 +37,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
SCAP Security Guide for SLE12 - XCCDF, OVAL, CPE and DS file to run a compliance test on SLE12, SLE15 and openSUSE.
Security Content Automation Protocol (SCAP) Security Guide for SLE12.
This package contains XCCDF (Extensible Configuration Checklist
Description Format), OVAL (Open Vulnerability and Assessment
Language), CPE (Common Platform Enumeration) and DS (Data Stream)
files to run a compliance test on SLE12, SLE15 and openSUSE.
%prep
%setup -q -n content-%version
%autosetup -n content-%version
%build
cd build
@ -76,14 +81,13 @@ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DSSG_PRODUCT_WRLINUX8=OFF \
-DSSG_PRODUCT_WRLINUX1019=OFF \
../
make %{?_smp_mflags}
%make_build
%install
cd build/
make install DESTDIR=%{buildroot} %{?_smp_mflags}
%make_install
%files
%defattr(-,root,root)
%license LICENSE
%dir %{_datadir}/doc/scap-security-guide/
%doc %{_datadir}/doc/scap-security-guide/*
@ -92,4 +96,3 @@ make install DESTDIR=%{buildroot} %{?_smp_mflags}
%{_datadir}/scap-security-guide/*
%dir %{_datadir}/xml/scap/
%{_datadir}/xml/scap/*