[open-vm-tools] Only build on x86-64 for RHEL 7 (RHBZ#1054608).

Richard W.M. Jones rjones at fedoraproject.org
Tue Feb 11 14:01:55 UTC 2014


commit 2d94247497a7b834fe62b7410d24c2e7803845de
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Tue Feb 11 14:02:25 2014 +0000

    Only build on x86-64 for RHEL 7 (RHBZ#1054608).

 open-vm-tools.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
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 <rjones at redhat.com> - 9.4.0-3
+- Only build on x86-64 for RHEL 7 (RHBZ#1054608).
+
 * Wed Dec 04 2013 Richard W.M. Jones <rjones at redhat.com> - 9.4.0-2
 - Rebuild for procps SONAME bump.
 


More information about the scm-commits mailing list