From f27ebb3caf28b6652b1fb5c61e4690a29e5c0999 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Sat, 13 Oct 2012 10:58:22 -0600 Subject: [PATCH] Update to 1.6.2 Add BR torque-devel to enable torque support Drop old module file location (bug #838467) --- .gitignore | 1 + openmpi.spec | 15 +++++++++------ sources | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 18007f1..e789cef 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ openmpi-1.4.1-RH.tar.bz2 /openmpi-1.6.tar.bz2 /openmpi-1.6-clean.tar.bz2 /openmpi-1.6.1-clean.tar.xz +/openmpi-1.6.2-clean.tar.xz diff --git a/openmpi.spec b/openmpi.spec index 1a4c261..20a6781 100644 --- a/openmpi.spec +++ b/openmpi.spec @@ -18,8 +18,8 @@ #global _cc_name_suffix -gcc Name: openmpi%{?_cc_name_suffix} -Version: 1.6.1 -Release: 2%{?dist} +Version: 1.6.2 +Release: 1%{?dist} Summary: Open Message Passing Interface Group: Development/Libraries License: BSD, MIT and Romio @@ -46,6 +46,7 @@ BuildRequires: librdmacm-devel libibcm-devel BuildRequires: hwloc-devel BuildRequires: python libtool-ltdl-devel BuildRequires: libesmtp-devel +BuildRequires: torque-devel Provides: mpi Requires: environment-modules @@ -156,7 +157,6 @@ mkdir %{buildroot}%{_mandir}/%{namearch}/man{2,4,5,6,8,9,n} mkdir -p %{buildroot}%{_sysconfdir}/modulefiles/mpi # Since we're doing our own substitution here, use our own definitions. sed 's#@LIBDIR@#'%{_libdir}/%{name}'#g;s#@ETCDIR@#'%{_sysconfdir}/%{namearch}'#g;s#@FMODDIR@#'%{_fmoddir}/%{namearch}'#g;s#@INCDIR@#'%{_includedir}/%{namearch}'#g;s#@MANDIR@#'%{_mandir}/%{namearch}'#g;s#@PYSITEARCH@#'%{python_sitearch}/%{name}'#g;s#@COMPILER@#openmpi-'%{_arch}%{?_cc_name_suffix}'#g;s#@SUFFIX@#'%{?_cc_name_suffix}'_openmpi#g' < %SOURCE1 > %{buildroot}%{_sysconfdir}/modulefiles/mpi/%{namearch} -cp %{buildroot}%{_sysconfdir}/modulefiles/mpi/* %{buildroot}%{_sysconfdir}/modulefiles/ # make the rpm config file mkdir -p %{buildroot}/%{_sysconfdir}/rpm cp %SOURCE2 %{buildroot}/%{_sysconfdir}/rpm/macros.%{namearch} @@ -194,9 +194,7 @@ sed -i -e s/-ldl// -e s/-lhwloc// \ %{_mandir}/%{namearch}/man7/ompi* %{_mandir}/%{namearch}/man7/orte* %{_libdir}/%{name}/lib/openmpi/* -%dir %{_sysconfdir}/modulefiles/mpi -%{_sysconfdir}/modulefiles/mpi/%{namearch} -%{_sysconfdir}/modulefiles/%{namearch} +%{_sysconfdir}/modulefiles/mpi/ #%files common %dir %{_libdir}/%{name}/share %dir %{_libdir}/%{name}/share/openmpi @@ -227,6 +225,11 @@ sed -i -e s/-ldl// -e s/-lhwloc// \ %{_sysconfdir}/rpm/macros.%{namearch} %changelog +* Sat Oct 13 2012 Orion Poplawski 1.6.2-1 +- Update to 1.6.2 +- Add BR torque-devel to enable torque support +- Drop old module file location (bug #838467) + * Thu Sep 13 2012 Orion Poplawski 1.6.1-2 - Drop adding -fPIC, no longer needed - Set --disable-silent-rules for more verbose build logs diff --git a/sources b/sources index a4367fe..3eae766 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -74702e0693ee5b4ba697a04f42db02b1 openmpi-1.6.1-clean.tar.xz +de2ddd80fb4c86fdc14b7fe9c583cd52 openmpi-1.6.2-clean.tar.xz