rpms/lam/F-11 lam.spec,1.51,1.52

Doug Ledford dledford at fedoraproject.org
Wed May 20 17:19:19 UTC 2009


Author: dledford

Update of /cvs/extras/rpms/lam/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17685

Modified Files:
	lam.spec 
Log Message:
* Wed May 20 2009 Doug Ledford <dledford at redhat.com> - 2:7.1.4-6
- Pass -fno-strict-aliasing to gcc to prevent build error on ppc64
- Don't put .module on the end of our module file now that it's in the 
  default module path



Index: lam.spec
===================================================================
RCS file: /cvs/extras/rpms/lam/F-11/lam.spec,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -p -r1.51 -r1.52
--- lam.spec	20 May 2009 17:00:40 -0000	1.51
+++ lam.spec	20 May 2009 17:18:49 -0000	1.52
@@ -1,7 +1,7 @@
 Summary: The Local Area Multicomputer programming environment
 Name: lam
 Version: 7.1.4
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: BSD
 Epoch: 2
 Group: System/Base
@@ -61,6 +61,7 @@ libtoolize
 autoreconf
 
 %build
+export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
 %ifarch x86_64
 export CFLAGS="$RPM_OPT_FLAGS -fPIC"
 export CXXFLAGS="$RPM_OPT_FLAGS -fPIC"
@@ -117,7 +118,7 @@ rm -rf ${RPM_BUILD_ROOT}%{mpidir}/lam
 mkdir -p ${RPM_BUILD_ROOT}%{_libdir}/pkgconfig
 sed 's#@VERSION@#'%{version}'#g;s#@LAMDIR@#'%{mpidir}'#g' < %SOURCE1 > ${RPM_BUILD_ROOT}%{_libdir}/pkgconfig/%{name}.pc
 mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/Modules/modulefiles
-sed 's#@LAMDIR@#'%{mpidir}'#g' < %SOURCE2 > ${RPM_BUILD_ROOT}%{_datadir}/Modules/modulefiles/%{name}-%{_arch}.module
+sed 's#@LAMDIR@#'%{mpidir}'#g' < %SOURCE2 > ${RPM_BUILD_ROOT}%{_datadir}/Modules/modulefiles/%{name}-%{_arch}
 
 for i in hcc hcp hf77
 do
@@ -201,6 +202,11 @@ fi
 %{mpidir}/man/man[23]/*
 
 %changelog
+* Wed May 20 2009 Doug Ledford <dledford at redhat.com> - 2:7.1.4-6
+- Pass -fno-strict-aliasing to gcc to prevent build error on ppc64
+- Don't put .module on the end of our module file now that it's in the 
+  default module path
+
 * Wed May 20 2009 Doug Ledford <dledford at redhat.com> - 2:7.1.4-5
 - Fix an rpmlint issue (tabs versus spaces)
 - Correct a missing Requires(post) chkconfig (for /usr/sbin/alternatives)




More information about the fedora-extras-commits mailing list