diff --git a/SPECS/openscap.spec b/SPECS/openscap.spec index 0eaa3c2..01a6f44 100644 --- a/SPECS/openscap.spec +++ b/SPECS/openscap.spec @@ -1,6 +1,6 @@ Name: openscap Version: 1.3.10 -Release: 2%{?dist} +Release: 2%{?dist}.inferit Epoch: 1 Summary: Set of open source libraries enabling integration of the SCAP line of standards License: LGPLv2+ @@ -87,6 +87,7 @@ Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} Requires: rpmdevtools rpm-build Requires: %{name}-scanner%{?_isa} = %{epoch}:%{version}-%{release} Requires: bash +Requires: python-docker >= 5.0.2 %description utils The %{name}-utils package contains command-line tools build on top @@ -121,7 +122,7 @@ for developing applications that use %{name}-engine-sce. %cmake \ -DENABLE_DOCS=ON \ -DENABLE_PERL=OFF \ - -DENABLE_OSCAP_UTIL_DOCKER=OFF \ + -DENABLE_OSCAP_UTIL_DOCKER=ON \ -DENABLE_OSCAP_REMEDIATE_SERVICE=OFF \ -DOPENSCAP_PROBE_LINUX_DPKGINFO=OFF \ -DOPENSCAP_PROBE_UNIX_GCONF=OFF \ @@ -146,6 +147,8 @@ pathfix.py -i %{__python3} -p -n $RPM_BUILD_ROOT%{_bindir}/scap-as-rpm %ldconfig_scriptlets +%define _dirlib /usr/lib/ + %files %doc AUTHORS NEWS README.md %license COPYING @@ -159,6 +162,7 @@ pathfix.py -i %{__python3} -p -n $RPM_BUILD_ROOT%{_bindir}/scap-as-rpm %{_datadir}/openscap/xsl/* %{_datadir}/openscap/cpe/* + %files python3 %{python3_sitearch}/* @@ -184,6 +188,9 @@ pathfix.py -i %{__python3} -p -n $RPM_BUILD_ROOT%{_bindir}/scap-as-rpm %doc docs/oscap-scan.cron %{_mandir}/man8/oscap-ssh.8.gz %{_bindir}/oscap-ssh +%{_mandir}/man8/oscap-docker.8.gz +%{_dirlib}/python3.9 +%{_bindir}/oscap-docker %{_mandir}/man8/oscap-podman.8.gz %{_bindir}/oscap-podman %{_mandir}/man8/oscap-vm.8.gz @@ -198,6 +205,9 @@ pathfix.py -i %{__python3} -p -n $RPM_BUILD_ROOT%{_bindir}/scap-as-rpm %{_bindir}/oscap-run-sce-script %changelog +* Fri Jan 10 2025 Eduard Basov - 1:1.3.10-2.inferit +- Enabling an additional component in the build ( oscap-docker) + * Mon Apr 08 2024 Jan Černý - 1:1.3.10-2 - Explicitely disable dpkginfo probe