From 27f94795c35239f68892e9671b5a870aa4726fc4 Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Fri, 9 Feb 2024 10:10:46 +0100 Subject: [PATCH] [openSUSE][RPM] Fix enabling features on non-x86_64 The %endif was in the wrong place, so on non-x86_64, most features were disabled. --- rpm/qemu.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm/qemu.spec b/rpm/qemu.spec index 4079fc2ac8..ec875b9bd4 100644 --- a/rpm/qemu.spec +++ b/rpm/qemu.spec @@ -653,6 +653,7 @@ EXTRA_CFLAGS="$(echo %{optflags} | sed -E 's/-[A-Z]?_FORTIFY_SOURCE[=]?[0-9]*//g --enable-xen \ --enable-xen-pci-passthrough \ %endif +%endif %if 0%{with xdp} --enable-af-xdp \ %endif @@ -680,7 +681,6 @@ EXTRA_CFLAGS="$(echo %{optflags} | sed -E 's/-[A-Z]?_FORTIFY_SOURCE[=]?[0-9]*//g %ifnarch %arm s390x --enable-numa \ %endif -%endif %if 0%{?with_rbd} --enable-rbd \ %endif -- 2.51.1