The package rpms/qemu.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/qemu.git/commit/?id=3930e8ff37ead....
Change:
-%ifnarch aarch64
Thanks.
Full change:
============
commit e9e03fcd1c7572b6f67968205d1ebb17f73f68ad
Author: Cole Robinson <crobinso(a)redhat.com>
Date: Fri Mar 23 19:40:00 2018 -0400
Add changelog
diff --git a/qemu.spec b/qemu.spec
index 66c9700..088981c 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -104,7 +104,7 @@ Requires: %{name}-ui-sdl = %{epoch}:%{version}-%{release}
Summary: QEMU is a FAST! processor emulator
Name: qemu
Version: 2.12.0
-Release: 0.1%{?rcrel}%{?dist}
+Release: 0.2%{?rcrel}%{?dist}
Epoch: 2
License: GPLv2 and BSD and MIT and CC-BY
URL:
http://www.qemu.org/
@@ -1881,6 +1881,11 @@ getent passwd qemu >/dev/null || \
%changelog
+* Fri Mar 23 2018 Cole Robinson <crobinso(a)redhat.com> - 2:2.12.0-0.2.rc0
+- Fix audio and ui module RPM deps
+- Drop some arch restrictions for rdma, spice, xen, numactl
+- Fix hppa firmware packaging
+
* Thu Mar 22 2018 Cole Robinson <crobinso(a)redhat.com> - 2:2.12.0-0.1.rc0
- Rebase to qemu-2.12.0-rc0
- Add hppa and riscv32/64 targets
commit 6269069f2710198b3cfd71399ef79e8fdb56bc61
Author: Cole Robinson <crobinso(a)redhat.com>
Date: Fri Mar 23 19:28:10 2018 -0400
Fix audio/ui module dependencies
diff --git a/qemu.spec b/qemu.spec
index 69d6bcd..66c9700 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -1251,9 +1251,9 @@ for f in %{buildroot}%{_bindir}/* %{buildroot}%{_libdir}/* \
if file $f | grep -q ELF | grep -q -i shared; then chrpath --delete $f; fi
done
-# We need to make the block device modules executable else
+# We need to make the modules executable else
# RPM won't pick up their dependencies.
-chmod +x %{buildroot}%{_libdir}/qemu/block-*.so
+chmod +x %{buildroot}%{_libdir}/qemu/*.so
%check
commit 3930e8ff37ead234ca9c181fe01d633c666a81e0
Author: Cole Robinson <crobinso(a)redhat.com>
Date: Fri Mar 23 16:12:53 2018 -0400
spec: Clean up outdated arch deps
- rdma-core, xen, spice, numactl are available in more places
- drop presumably obsolete aarch64 ld flag droppage
- centralize arch dep checks in one place
diff --git a/qemu.spec b/qemu.spec
index c689541..69d6bcd 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -25,23 +25,35 @@
%endif
%global user_static 1
-# glibc static libs are fubar on i386, s390 & ppc64*
-#
https://bugzilla.redhat.com/show_bug.cgi?id=1352625
-%ifarch %{?ix86} s390 s390x %{power64}
-%global user_static 0
-%endif
%global have_kvm 0
%if 0%{?kvm_package:1}
%global have_kvm 1
%endif
-%ifarch %{ix86} x86_64
+# Matches numactl ExcludeArch
+%global have_numactl 1
+%ifarch s390 %{arm}
+%global have_numactl 0
+%endif
+
+# Upstream disables iasl for big endian and QEMU checks
+# for this. Fedora has re-enabled it on BE circumventing
+# the QEMU checks, but it fails none the less:
+#
+#
https://bugzilla.redhat.com/show_bug.cgi?id=1332449
+%global have_iasl 1
+%ifnarch s390 s390x ppc ppc64
+%global have_iasl 0
+%endif
+
+# Matches spice ExclusiveArch
+%ifarch %{ix86} x86_64 %{arm} aarch64
%global have_spice 1
%endif
-# Xen is available only on i386 x86_64 (from libvirt spec)
-%ifarch %{ix86} x86_64
+# Matches xen ExclusiveArch
+%ifarch %{ix86} x86_64 armv7hl aarch64
%global have_xen 1
%endif
@@ -140,14 +152,8 @@ BuildRequires: perl-podlators
# For sanity test
BuildRequires: qemu-sanity-check-nodeps
BuildRequires: kernel
+%if %{have_iasl}
# For acpi compilation
-#
-# Upstream disables iasl for big endian and QEMU checks
-# for this. Fedora has re-enabled it on BE circumventing
-# the QEMU checks, but it fails none the less:
-#
-#
https://bugzilla.redhat.com/show_bug.cgi?id=1332449
-%ifnarch s390 s390x ppc ppc64
BuildRequires: iasl
%endif
# For chrpath calls in specfile
@@ -227,14 +233,12 @@ BuildRequires: vte291-devel
# GTK translations
BuildRequires: gettext
# RDMA migration
-%ifnarch s390 s390x %{arm}
-BuildRequires: librdmacm-devel
-%endif
+BuildRequires: rdma-core-devel
%if 0%{?have_xen:1}
# Xen support
BuildRequires: xen-devel
%endif
-%ifarch %{ix86} x86_64 aarch64
+%if %{have_numactl}
# qemu 2.1: needed for memdev hostmem backend
BuildRequires: numactl-devel
%endif
@@ -968,11 +972,7 @@ run_configure() {
--enable-tcg-interpreter \
%endif
--enable-trace-backend=$tracebackends \
-%ifnarch aarch64
--extra-ldflags="$extraldflags -Wl,-z,relro -Wl,-z,now" \
-%else
- --extra-ldflags="$extraldflags" \
-%endif
--extra-cflags="%{optflags}" \
"$@" || cat config.log
}