mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-06 09:55:46 +00:00
libvirt.spec.in: remove audit conditional
Both RHEL and Fedora build with audit enabled at all times. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
db9249a1f8
commit
29a34b3c16
@ -99,7 +99,6 @@
|
|||||||
|
|
||||||
# Non-server/HV driver defaults which are always enabled
|
# Non-server/HV driver defaults which are always enabled
|
||||||
%define with_sasl 0%{!?_without_sasl:1}
|
%define with_sasl 0%{!?_without_sasl:1}
|
||||||
%define with_audit 0%{!?_without_audit:1}
|
|
||||||
%define with_nss_plugin 0%{!?_without_nss_plugin:1}
|
%define with_nss_plugin 0%{!?_without_nss_plugin:1}
|
||||||
|
|
||||||
|
|
||||||
@ -457,9 +456,7 @@ BuildRequires: libcurl-devel
|
|||||||
%if %{with_hyperv}
|
%if %{with_hyperv}
|
||||||
BuildRequires: libwsman-devel >= 2.2.3
|
BuildRequires: libwsman-devel >= 2.2.3
|
||||||
%endif
|
%endif
|
||||||
%if %{with_audit}
|
|
||||||
BuildRequires: audit-libs-devel
|
BuildRequires: audit-libs-devel
|
||||||
%endif
|
|
||||||
%if %{with_dtrace}
|
%if %{with_dtrace}
|
||||||
# we need /usr/sbin/dtrace
|
# we need /usr/sbin/dtrace
|
||||||
BuildRequires: systemtap-sdt-devel
|
BuildRequires: systemtap-sdt-devel
|
||||||
@ -1184,10 +1181,6 @@ rm -rf .git
|
|||||||
%define _without_macvtap --without-macvtap
|
%define _without_macvtap --without-macvtap
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if ! %{with_audit}
|
|
||||||
%define _without_audit --without-audit
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if ! %{with_dtrace}
|
%if ! %{with_dtrace}
|
||||||
%define _without_dtrace --without-dtrace
|
%define _without_dtrace --without-dtrace
|
||||||
%endif
|
%endif
|
||||||
@ -1281,7 +1274,7 @@ rm -f po/stamp-po
|
|||||||
%{?_without_sanlock} \
|
%{?_without_sanlock} \
|
||||||
%{?_without_libpcap} \
|
%{?_without_libpcap} \
|
||||||
%{?_without_macvtap} \
|
%{?_without_macvtap} \
|
||||||
%{?_without_audit} \
|
--with-audit \
|
||||||
%{?_without_dtrace} \
|
%{?_without_dtrace} \
|
||||||
--with-driver-modules \
|
--with-driver-modules \
|
||||||
%{?_with_firewalld} \
|
%{?_with_firewalld} \
|
||||||
|
Loading…
Reference in New Issue
Block a user