diff --git a/qemu.spec b/qemu.spec index be323000bda652eef807986457ec8b7a456f7c36..56bec06b12cdf257c9fbf82adcc7dadbefd6ffcd 100644 --- a/qemu.spec +++ b/qemu.spec @@ -3,7 +3,7 @@ Name: qemu Version: 6.2.0 -Release: 84 +Release: 85 Epoch: 10 Summary: QEMU is a generic and open source machine emulator and virtualizer License: GPLv2 and BSD and MIT and CC-BY-SA-4.0 @@ -947,6 +947,12 @@ Requires: qemu %description system-x86_64 This package provides the QEMU system emulator for x86_64. +%package system-ppc64 +Summary: Qemu-system-ppc64 +Requires: qemu +%description system-ppc64 +This package provides the QEMU system emulator for ppc64le. + %package system-riscv Summary: Qemu-system-riscv32, Qemu-system-riscv64 Requires: qemu @@ -973,6 +979,11 @@ buildarch="aarch64-softmmu" targetarch="x86_64-softmmu arm-softmmu riscv32-softmmu riscv64-softmmu" %endif +%ifarch ppc64le +buildarch="ppc64-softmmu" +targetarch="x86_64-softmmu aarch64-softmmu arm-softmmu riscv32-softmmu riscv64-softmmu" +%endif + %ifarch loongarch64 buildarch="loongarch64-softmmu" targetarch="x86_64-softmmu aarch64-softmmu arm-softmmu riscv32-softmmu riscv64-softmmu" @@ -1093,18 +1104,20 @@ chmod -x %{buildroot}%{_mandir}/man1/* rm -rf %{buildroot}%{_datadir}/%{name}/vgabios-ati.bin rm -rf %{buildroot}%{_datadir}/%{name}/bios-microvm.bin rm -rf %{buildroot}%{_datadir}/%{name}/openbios-* -rm -rf %{buildroot}%{_datadir}/%{name}/slof.bin rm -rf %{buildroot}%{_datadir}/%{name}/QEMU,*.bin rm -rf %{buildroot}%{_datadir}/%{name}/bamboo.dtb rm -rf %{buildroot}%{_datadir}/%{name}/canyonlands.dtb rm -rf %{buildroot}%{_datadir}/%{name}/hppa-firmware.img rm -rf %{buildroot}%{_datadir}/%{name}/palcode-clipper rm -rf %{buildroot}%{_datadir}/%{name}/petalogix-* -rm -rf %{buildroot}%{_datadir}/%{name}/ppc_* rm -rf %{buildroot}%{_datadir}/%{name}/qemu_vga.ndrv rm -rf %{buildroot}%{_datadir}/%{name}/s390-* +%ifnarch ppc64le +rm -rf %{buildroot}%{_datadir}/%{name}/slof.bin rm -rf %{buildroot}%{_datadir}/%{name}/skiboot.lid rm -rf %{buildroot}%{_datadir}/%{name}/spapr-* +rm -rf %{buildroot}%{_datadir}/%{name}/ppc_* +%endif rm -rf %{buildroot}%{_datadir}/%{name}/u-boot* rm -rf %{buildroot}%{_datadir}/%{name}/core3-hmcode rm -rf %{buildroot}%{_datadir}/%{name}/core3-reset @@ -1134,6 +1147,9 @@ rm -rf %{buildroot}%{_libdir}/%{name}/ui-spice-core.so rm -rf %{buildroot}%{_libexecdir}/vhost-user-gpu rm -rf %{buildroot}%{_datadir}/%{name}/vhost-user/50-qemu-gpu.json rm -rf %{buildroot}%{_datadir}/%{name}/vhost-user/50-qemu-virtiofsd.json +%ifarch ppc64le +rm -rf %{buildroot}%{_datadir}/%{name}/opensbi-riscv*.elf +%endif %if %{with rbd} strip %{buildroot}%{_libdir}/%{name}/block-rbd.so @@ -1268,11 +1284,20 @@ getent passwd qemu >/dev/null || \ %{_datadir}/%{name}/sgabios.bin %endif +%ifarch ppc64le +%files system-ppc64 +%{_bindir}/qemu-system-ppc64 +%{_datadir}/%{name}/slof.bin +%{_datadir}/%{name}/skiboot.lid +%endif + %files system-riscv %{_bindir}/qemu-system-riscv32 %{_bindir}/qemu-system-riscv64 %{_datadir}/%{name}/opensbi-riscv*.bin +%ifnarch ppc64le %{_datadir}/%{name}/opensbi-riscv*.elf +%endif %ifarch loongarch64 %files system-loongarch64 @@ -1358,6 +1383,9 @@ getent passwd qemu >/dev/null || \ %endif %changelog +* Fri Dec 1 2023 - 10:6.2.0-85 +- spec: Add support for the ppc64le platform + * Tue Nov 28 2023 - 10:6.2.0-84 - hw/arm/fsl-imx: Do not ignore Error argument - hw/net/cadence_gem.c: spelling fixes: Octects