[mpiwrappers/el5/master] Try to make this package arch dependent.
Jussi Lehtola
jussilehtola at fedoraproject.org
Sun Oct 10 04:11:14 UTC 2010
commit 94f64767c10fb34664e438162714690b5999f756
Author: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date: Sun Oct 10 07:11:20 2010 +0300
Try to make this package arch dependent.
mpiwrappers.spec | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/mpiwrappers.spec b/mpiwrappers.spec
index 927f749..fc41b76 100644
--- a/mpiwrappers.spec
+++ b/mpiwrappers.spec
@@ -1,5 +1,14 @@
# The version of Open MPI used
-%global openmpiver 1.4-gcc
+%if 0%{?rhel} == 5
+ %global openmpiver 1.4-gcc
+%else
+ %if 0%{?rhel} == 4
+ %global openmpiver 1.2.8-gcc
+ %endif
+%endif
+
+# This package needs to be arch dependent, however Koji seems to build it noarch by default.
+ExcludeArch: noarch
# Python arch
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
@@ -8,7 +17,7 @@
Name: mpiwrappers
Version: 1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Environment module wrappers for MPI packages in RHEL
Group: Development/Libraries
License: GPL+
More information about the scm-commits
mailing list