SHA256
1
0
forked from pool/openscap

Accepting request 1153020 from home:jaimeMF:branches:security

- Use the correct documentation's path.

OBS-URL: https://build.opensuse.org/request/show/1153020
OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=288
This commit is contained in:
Wolfgang Frisch 2024-02-29 14:59:41 +00:00 committed by Git OBS Bridge
parent 10b9f1885e
commit 7f0764d69d
3 changed files with 13 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# can not change docs implementation
addFilter("files-duplicate /usr/share/doc/openscap/html/search")
addFilter("files-duplicate /usr/share/doc/packages/openscap/html/search")
# ignore duplicates in different schema versions
addFilter("files-duplicate /usr/share/openscap/schemas")

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 27 22:23:26 UTC 2024 - Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@fastmail.net>
- Use the correct documentation's path.
-------------------------------------------------------------------
Thu Sep 21 19:43:34 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package openscap
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -186,6 +186,9 @@ This package contains the Script Checking Engine Library (SCE) for OpenSCAP.
%build
%cmake \
-DENABLE_DOCS=TRUE \
%if 0%{?suse_version} < 1600
-DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name} \
%endif
-DCMAKE_SHARED_LINKER_FLAGS="" \
-DENABLE_OSCAP_REMEDIATE_SERVICE=TRUE \
-DWITH_PCRE2=ON \
@ -282,10 +285,11 @@ mv %{buildroot}/%{_prefix}/libexec/oscap-remediate %{buildroot}/%{_bindir}
%{_libdir}/libopenscap.so.%{sover}*
%files devel
%dir %{_datadir}/doc/openscap
%dir %{_docdir}/openscap
%{_docdir}/openscap/html
%{_docdir}/openscap/manual
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/doc/openscap/*
%{_includedir}/*
%files docker