libvirt.spec: remove dtrace for aarch64 OS
Signed-off-by: Jiajie Li <lijiajie11@huawei.com>
This commit is contained in:
parent
7557fcf394
commit
fd0efbf8ec
23
libvirt.spec
23
libvirt.spec
@ -48,6 +48,12 @@
|
||||
%define with_storage_zfs 0
|
||||
%endif
|
||||
|
||||
%ifarch aarch64
|
||||
%define arg_dtrace --without-dtrace
|
||||
%else
|
||||
%define arg_dtrace --with-dtrace
|
||||
%endif
|
||||
|
||||
# We need a recent enough libiscsi (>= 1.18.0)
|
||||
%define with_storage_iscsi_direct 0%{!?_without_storage_iscsi_direct:1}
|
||||
|
||||
@ -99,7 +105,7 @@
|
||||
Summary: Library providing a simple virtualization API
|
||||
Name: libvirt
|
||||
Version: 6.2.0
|
||||
Release: 17
|
||||
Release: 18
|
||||
License: LGPLv2+
|
||||
URL: https://libvirt.org/
|
||||
|
||||
@ -1125,7 +1131,7 @@ cd %{_vpath_builddir}
|
||||
--with-libpcap \
|
||||
--with-macvtap \
|
||||
--with-audit \
|
||||
--with-dtrace \
|
||||
%{?arg_dtrace} \
|
||||
--with-driver-modules \
|
||||
%{?arg_firewalld} \
|
||||
%{?arg_firewalld_zone} \
|
||||
@ -1786,10 +1792,12 @@ exit 0
|
||||
%{_bindir}/virt-pki-validate
|
||||
%{_bindir}/virt-host-validate
|
||||
|
||||
%{_datadir}/systemtap/tapset/libvirt_probes*.stp
|
||||
%{_datadir}/systemtap/tapset/libvirt_functions.stp
|
||||
%if %{with_qemu}
|
||||
%{_datadir}/systemtap/tapset/libvirt_qemu_probes*.stp
|
||||
%ifnarch aarch64
|
||||
%{_datadir}/systemtap/tapset/libvirt_probes*.stp
|
||||
%{_datadir}/systemtap/tapset/libvirt_functions.stp
|
||||
%if %{with_qemu}
|
||||
%{_datadir}/systemtap/tapset/libvirt_qemu_probes*.stp
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if %{with_bash_completion}
|
||||
@ -1906,6 +1914,9 @@ exit 0
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Mar 19 2021 Jiajie Li <lijiajie11@huawei.com>
|
||||
- libvirt.spec: remove dtrace for aarch64 OS
|
||||
|
||||
* Thu Mar 18 2021 Chen Qun <kuhn.chenqun@huawei.com>
|
||||
- libvirt/conf: Set default values of retry fileds
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user