diff --git a/qemu.spec b/qemu.spec index ccada53f70d2fed3394fd1f2a60d8be7d6f1752e..f05c0da8c16e237445250e343d06a241cf9f0c85 100644 --- a/qemu.spec +++ b/qemu.spec @@ -1,3 +1,5 @@ +%define anolis_release 2 + %bcond_with check %global libfdt_version 1.6.0 @@ -37,9 +39,6 @@ # Matches numactl ExcludeArch %global have_numactl 1 -%ifarch %{arm} -%global have_numactl 0 -%endif # Matches spice ExclusiveArch %global have_spice 0 @@ -52,7 +51,7 @@ %global have_liburing 1 -%global have_virgl 1 +%global have_virgl 0 %global have_pmem 0 %ifarch x86_64 @@ -71,11 +70,11 @@ %global have_edk2 1 # All modules should be listed here. -%define have_block_rbd 1 +%define have_block_rbd 0 %global have_block_gluster 1 -%define have_block_nfs 1 +%define have_block_nfs 0 %define have_librdma 1 @@ -205,8 +204,6 @@ Obsoletes: %{name}-system-moxie-core <= %{epoch}:%{version}-%{release} \ Obsoletes: %{name}-system-unicore32 <= %{epoch}:%{version}-%{release} \ Obsoletes: %{name}-system-unicore32-core <= %{epoch}:%{version}-%{release} -%define anolis_release 1 - Summary: QEMU is a FAST! processor emulator Name: qemu Version: 7.2.0 @@ -1242,11 +1239,7 @@ run_configure() { --docdir="%{_docdir}" \ --libexecdir="%{_libexecdir}" \ --extra-ldflags="%{build_ldflags}" \ -%ifnarch %{arm} --extra-cflags="%{optflags}" \ -%else - --extra-cflags="%{optflags} -DSTAP_SDT_ARG_CONSTRAINT=g" \ -%endif --with-pkgversion="%{name}-%{version}-%{release}" \ --with-suffix="%{name}" \ --firmwarepath="%firmwaredirs" \ @@ -2141,6 +2134,9 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \ %changelog +* Thu Mar 16 2023 Chunmei Xu - 7.2.0-2 +- disable virgl, block_rbd and block_nfs + * Mon Feb 13 2023 Kun(llfl) - 7.2.0-1 - Update to 7.2.0