From 5f751f56016dbbab547fa0221fe6a9632df8c558 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 23 Jul 2014 22:54:37 +0100 Subject: [PATCH] If golang is not available, ./configure --disable-golang. This is so even if you have golang installed, it doesn't get built and cause a package build failure. --- libguestfs.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libguestfs.spec b/libguestfs.spec index 4ccf724..30f3ddc 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -763,6 +763,9 @@ fi --with-extra="fedora=%{fedora},release=%{release},libvirt" \ --with-qemu="qemu-kvm qemu-system-%{_build_arch} qemu" \ --enable-install-daemon \ +%ifnarch %{golang_arches} + --disable-golang \ +%endif $extra # 'INSTALLDIRS' ensures that Perl and Ruby libs are installed in the