rpms/gromacs/EL-4 gromacs.spec,1.6,1.7 sources,1.6,1.7

Jussi Lehtola jussilehtola at fedoraproject.org
Mon Jan 19 12:21:37 UTC 2009


Author: jussilehtola

Update of /cvs/pkgs/rpms/gromacs/EL-4
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27302/EL-4

Modified Files:
	gromacs.spec sources 
Log Message:
* Mon Jan 19 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 4.0.3-2
- Fix EPEL 4 build.



Index: gromacs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gromacs/EL-4/gromacs.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- gromacs.spec	19 Jan 2009 09:22:15 -0000	1.6
+++ gromacs.spec	19 Jan 2009 12:21:07 -0000	1.7
@@ -1,6 +1,6 @@
 Name:		gromacs
 Version:	4.0.3
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	GROMACS binaries
 Group:		Applications/Engineering
 License:	GPLv2+
@@ -354,6 +354,20 @@
 %install
 rm -rf %{buildroot}
 
+# 4.0.3 needs this to build in EPEL-4
+# Load MPI enviroment
+%if %modules == 1
+. /etc/profile.d/modules.sh
+module load %{_libdir}/openmpi/*/openmpi.module
+%endif
+
+%if %selector == 1
+# Set MPI environment
+mpi-selector --set `mpi-selector --list | grep openmpi`
+source /etc/profile.d/mpi-selector.sh
+%endif
+
+
 # Single precision
 cd single
 make DESTDIR=%{buildroot} INSTALL="install -p" install
@@ -532,6 +546,9 @@
 
 
 %changelog
+* Mon Jan 19 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 4.0.3-2
+- Fix EPEL 4 build.
+
 * Mon Jan 19 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 4.0.3-1
 - Update to 4.0.3.
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gromacs/EL-4/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources	19 Jan 2009 09:22:15 -0000	1.6
+++ sources	19 Jan 2009 12:21:07 -0000	1.7
@@ -1,2 +1,2 @@
-2b6565bef76109a579c39ec1dcb0ecf2  manual-4.0.pdf
 2902403671a0f9b0934ddf3ca586b7ec  gromacs-4.0.3.tar.gz
+2b6565bef76109a579c39ec1dcb0ecf2  manual-4.0.pdf




More information about the fedora-extras-commits mailing list