Disable hfsplus-tools on ppc (thanks Gustavo Luiz Duarte).

This commit is contained in:
Richard W.M. Jones 2013-08-27 14:04:47 +01:00
parent 0477bfa78e
commit 64770750fd

View File

@ -92,14 +92,17 @@ BuildRequires: golang
# Build requirements for the appliance.
# sed 's/^ *//' < appliance/packagelist | sort
%global appliance_buildreqs0 acl attr augeas-libs bash binutils btrfs-progs bzip2 coreutils cpio cryptsetup diffutils dosfstools e2fsprogs file findutils gawk gdisk gfs2-utils grep gzip hivex iproute iputils jfsutils kernel kmod less libcap libldm libselinux libxml2 lsof lsscsi lvm2 lzop mdadm nilfs-utils ntfs-3g openssh-clients parted pcre procps psmisc reiserfs-utils rsync scrub sed strace systemd tar udev util-linux vim-minimal xfsprogs xz yajl zerofree
%ifnarch %{arm} ppc
%global appliance_buildreqs1 hfsplus-tools
%endif
%ifnarch %{arm}
# http://zfs-fuse.net/issues/94
%global appliance_buildreqs1 hfsplus-tools zfs-fuse
%global appliance_buildreqs2 zfs-fuse
%endif
%ifarch %{ix86} x86_64
%global appliance_buildreqs2 ntfsprogs syslinux syslinux-extlinux
%global appliance_buildreqs3 ntfsprogs syslinux syslinux-extlinux
%endif
%global appliance_buildreqs %{appliance_buildreqs0} %{?appliance_buildreqs1} %{?appliance_buildreqs2}
%global appliance_buildreqs %{appliance_buildreqs0} %{?appliance_buildreqs1} %{?appliance_buildreqs2} %{?appliance_buildreqs3}
BuildRequires: %{appliance_buildreqs}
Requires: %{appliance_buildreqs}