diff --git a/openmpi.spec b/openmpi.spec index 43268d7..9705cf2 100644 --- a/openmpi.spec +++ b/openmpi.spec @@ -39,7 +39,7 @@ Source2: macros.openmpi BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gcc-gfortran, libtool, numactl-devel #sparc 64 doesnt have valgrind -%ifnarch sparc64 +%ifnarch %{sparc} BuildRequires: valgrind-devel %endif BuildRequires: libibverbs-devel >= 1.1.3, opensm-devel > 3.3.0 @@ -136,7 +136,7 @@ XFLAGS="-fPIC" --enable-mpi-threads \ --enable-openib-ibcm \ --with-sge \ -%ifnarch sparc64 +%ifnarch %{sparc} --with-valgrind \ %endif --with-wrapper-cflags="%{?opt_cflags} %{?modeflag}" \ @@ -231,7 +231,7 @@ rm -rf %{buildroot} %changelog * Sat Sep 05 2010 Dennis Gilmore - 1.4.1-7 -- disable valgrind support on sparc64 +- disable valgrind support on sparc arches * Sat Jul 24 2010 David Malcolm - 1.4.1-6 - workaround for rhbz#617766