From 2d94247497a7b834fe62b7410d24c2e7803845de Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 11 Feb 2014 14:02:25 +0000 Subject: [PATCH] Only build on x86-64 for RHEL 7 (RHBZ#1054608). --- open-vm-tools.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/open-vm-tools.spec b/open-vm-tools.spec index 3da75df..f9be38c 100644 --- a/open-vm-tools.spec +++ b/open-vm-tools.spec @@ -27,14 +27,18 @@ Name: open-vm-tools Version: %{toolsversion} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Open Virtual Machine Tools for virtual machines hosted on VMware Group: Applications/System License: GPLv2 URL: http://%{name}.sourceforge.net/ Source0: http://sourceforge.net/projects/%{name}/files/%{name}/stable-%{majorversion}.x/%{name}-%{version}-%{toolsbuild}.tar.gz Source1: %{toolsdaemon}.service +%if 0%{?rhel} >= 7 +ExclusiveArch: x86_64 +%else ExclusiveArch: %{ix86} x86_64 +%endif BuildRequires: gcc-c++ BuildRequires: doxygen @@ -182,6 +186,9 @@ install -p -m 644 -D %{SOURCE1} %{buildroot}%{_unitdir}/%{toolsdaemon}.service %{_libdir}/libvmtools.so %changelog +* Tue Feb 11 2014 Richard W.M. Jones - 9.4.0-3 +- Only build on x86-64 for RHEL 7 (RHBZ#1054608). + * Wed Dec 04 2013 Richard W.M. Jones - 9.4.0-2 - Rebuild for procps SONAME bump.