From d74a958e8d14fc6031ab0cc1ef8a4e97b89541fa Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 6 Dec 2013 14:34:49 +0000 Subject: [PATCH] =?UTF-8?q?Build=20golang=20package=20only=20on=20x86=20an?= =?UTF-8?q?d=20ARM.=20=20The=20golang=20package=20in=20Fedora=20uses=20the?= =?UTF-8?q?=20same=20ExclusiveArch.=20=20Thanks:=20Dan=20Hor=C3=A1k.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libguestfs.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/libguestfs.spec b/libguestfs.spec index 3c3a1e0..571ba1c 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -12,7 +12,7 @@ Summary: Access and modify virtual machine disk images Name: libguestfs Epoch: 1 Version: 1.25.12 -Release: 2%{?dist} +Release: 3%{?dist} License: LGPLv2+ # Source and patches. @@ -91,7 +91,7 @@ BuildRequires: erlang-erl_interface BuildRequires: glib2-devel BuildRequires: gobject-introspection-devel BuildRequires: gjs -%ifnarch ppc64 +%ifarch %{arm} %{ix86} x86_64 BuildRequires: golang %endif @@ -533,7 +533,7 @@ Requires: %{name}-gobject-devel = %{epoch}:%{version}-%{release} %{name} GObject bindings. -%ifnarch ppc64 +%ifarch %{arm} %{ix86} x86_64 %package -n golang-guestfs Summary: Golang bindings for %{name} Requires: %{name} = %{epoch}:%{version}-%{release} @@ -958,7 +958,7 @@ mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/libguestfs %{_datadir}/gtk-doc/html/guestfs -%ifnarch ppc64 +%ifarch %{arm} %{ix86} x86_64 %files -n golang-guestfs %doc golang/examples/*.go %doc golang/examples/LICENSE @@ -981,6 +981,10 @@ mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/libguestfs %changelog +* Fri Dec 06 2013 Richard W.M. Jones - 1:1.25.12-3 +- Build golang package only on x86 and ARM. The golang package in Fedora + uses the same ExclusiveArch. Thanks: Dan HorĂ¡k. + * Wed Dec 04 2013 Richard W.M. Jones - 1:1.25.12-2 - Rebuild for procps SONAME bump.