[mpiwrappers/el4/master] Try to make this package arch dependent.

Jussi Lehtola jussilehtola at fedoraproject.org
Sun Oct 10 16:32:53 UTC 2010


commit e98d5d208043e0b4721ce935668e493e8eec481e
Author: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date:   Sun Oct 10 19:33:01 2010 +0300

    Try to make this package arch dependent.

 mpiwrappers.spec |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/mpiwrappers.spec b/mpiwrappers.spec
index 250f5bc..310196c 100644
--- a/mpiwrappers.spec
+++ b/mpiwrappers.spec
@@ -1,12 +1,14 @@
 # The version of Open MPI used
 %if 0%{?rhel} == 5
  %global openmpiver 1.4-gcc
-%else
- %if 0%{?rhel} == 4
+%endif
+%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)")}
 # Fortran module directory
@@ -14,7 +16,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+
@@ -122,6 +124,9 @@ rm -rf %{buildroot}
 %{_fmoddir}/openmpi/
 
 %changelog
+* Sun Oct 10 2010 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1-4
+- Try to make package arch dependent.
+
 * Sat Oct 9 2010 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1-3
 - Dropped LAM, branched devel stuff in -devel package.
 


More information about the scm-commits mailing list