From ca6d3c66e51df7ac2855cdfcbeecaaf090771971 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Mon, 21 Jan 2019 18:36:27 +0100 Subject: [PATCH] Disable ZFS for RISC-V (riscv64) Signed-off-by: David Abdurachmanov --- libguestfs.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/libguestfs.spec b/libguestfs.spec index 63bfd70..b6dd24a 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -40,7 +40,7 @@ Summary: Access and modify virtual machine disk images Name: libguestfs Epoch: 1 Version: 1.40.1 -Release: 2%{?dist} +Release: 3%{?dist} License: LGPLv2+ # Source and patches. @@ -176,7 +176,7 @@ BuildRequires: acl attr augeas-libs bash binutils btrfs-progs bzip2 coreutils cp %ifnarch ppc BuildRequires: hfsplus-tools %endif -%ifnarch %{arm} aarch64 s390 s390x +%ifnarch %{arm} aarch64 s390 s390x riscv64 # http://zfs-fuse.net/issues/94 BuildRequires: zfs-fuse %endif @@ -426,7 +426,7 @@ This adds XFS support to %{name}. Install it if you want to process disk images containing XFS. -%ifnarch %{arm} aarch64 s390 s390x +%ifnarch %{arm} aarch64 s390 s390x riscv64 %package zfs Summary: ZFS support for %{name} License: LGPLv2+ @@ -1031,7 +1031,7 @@ move_to strace zz-packages-rescue move_to vim-minimal zz-packages-rescue move_to rsync zz-packages-rsync move_to xfsprogs zz-packages-xfs -%ifnarch %{arm} aarch64 s390 s390x +%ifnarch %{arm} aarch64 s390 s390x riscv64 move_to zfs-fuse zz-packages-zfs %endif @@ -1157,7 +1157,7 @@ install -m 0644 utils/boot-benchmark/boot-benchmark.1 $RPM_BUILD_ROOT%{_mandir}/ %files xfs %{_libdir}/guestfs/supermin.d/zz-packages-xfs -%ifnarch %{arm} aarch64 s390 s390x +%ifnarch %{arm} aarch64 s390 s390x riscv64 %files zfs %{_libdir}/guestfs/supermin.d/zz-packages-zfs %endif @@ -1411,6 +1411,9 @@ install -m 0644 utils/boot-benchmark/boot-benchmark.1 $RPM_BUILD_ROOT%{_mandir}/ %changelog +* Mon Jan 21 2019 David Abdurachmanov - 1:1.40.1-3 +- Disable ZFS for RISC-V (riscv64) + * Thu Jan 17 2019 Richard W.M. Jones - 1:1.40.1-2 - nbdkit Python3 plugin is called "python3" in Fedora, adjust configure line.