From cb7ba1f83fe7c2b1add7d54e5582e431d3a39c8a Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 4 Jan 2024 11:02:06 -0500 Subject: [PATCH] Enable opendbx for SQL probes only in Fedora opendbx is not available in RHEL. --- openscap.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/openscap.spec b/openscap.spec index a82f59c..802929c 100644 --- a/openscap.spec +++ b/openscap.spec @@ -1,6 +1,6 @@ Name: openscap Version: 1.3.9 -Release: 4%{?dist} +Release: 5%{?dist} Epoch: 1 Summary: Set of open source libraries enabling integration of the SCAP line of standards License: LGPL-2.1-or-later @@ -47,12 +47,12 @@ BuildRequires: libyaml-devel BuildRequires: xmlsec1-devel BuildRequires: xmlsec1-openssl-devel -# apt-libs missing on Centos %if 0%{?fedora} +# apt-libs missing on Centos BuildRequires: apt-devel -%endif - +# opendbx is not available in RHEL BuildRequires: opendbx-devel +%endif # GConf2 not used on purpose as obsolete and blocking anaconda addon # BuildRequires: GConf2-devel @@ -277,6 +277,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %{_mandir}/man8/oscap-podman.8* %changelog +* Thu Jan 04 2024 Yaakov Selkowitz - 1:1.3.9-5 +- Enable opendbx for SQL probes only in Fedora + * Wed Jan 03 2024 Florian Weimer - 1:1.3.9-4 - Fix C compatibility issues