The package rpms/SLOF.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/SLOF.git/commit/?id=f842b0976ebdd....
Change:
+ExclusiveArch: ppc64le
Thanks.
Full change:
============
commit f842b0976ebdd47adb3570121fa64830d864ff51
Author: Paolo Bonzini <pbonzini(a)redhat.com>
Date: Fri Nov 17 09:26:03 2017 +0100
Disable cross compilation for RHEL
diff --git a/SLOF.spec b/SLOF.spec
index 7d9aa69..44798e9 100644
--- a/SLOF.spec
+++ b/SLOF.spec
@@ -1,14 +1,21 @@
%global gittagdate 20170724
%global gittag qemu-slof-%{gittagdate}
+# Disable debuginfo because it is of no use to us.
+%global debug_package %{nil}
+
+%if 0%{?fedora:1}
+%define cross 1
+%endif
+
Name: SLOF
Version: 0.1.git%{gittagdate}
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Slimline Open Firmware
License: BSD
URL:
http://www.openfirmware.info/SLOF
-BuildArch: noarch
+
# There are no upstream tarballs. To prepare a tarball, do:
#
@@ -18,7 +25,13 @@ BuildArch: noarch
# --prefix=SLOF-%{gittagdate}/ %{gittag}
Source0: SLOF-%{gittagdate}.tar.gz
+%if 0%{?cross:1}
+BuildArch: noarch
BuildRequires: gcc-powerpc64-linux-gnu
+%else
+ExclusiveArch: ppc64le
+%endif
+
BuildRequires: perl(Data::Dumper)
@@ -40,7 +53,9 @@ separately. It is a dependency of qemu-system-ppc64.
%build
+%if 0%{?cross:1}
export CROSS="powerpc64-linux-gnu-"
+%endif
make qemu %{?_smp_mflags} V=2
@@ -58,6 +73,9 @@ cp -a boot_rom.bin $RPM_BUILD_ROOT%{_datadir}/qemu/slof.bin
%changelog
+* Fri Nov 17 2017 Paolo Bonzini <pbonzini(a)redhat.com> - 0.1.git120170724-2
+- Disable cross compilation for RHEL
+
* Thu Aug 03 2017 Cole Robinson <crobinso(a)redhat.com> - 0.1.git120170724-1
- Update to SLOF 20170724 for qemu 2.10