rpms/numpy/devel numpy-1.0-gfortran.patch, 1.1, 1.2 numpy.spec, 1.14, 1.15

Jarod Wilson (jwilson) fedora-extras-commits at redhat.com
Tue Apr 17 15:29:44 UTC 2007


Author: jwilson

Update of /cvs/extras/rpms/numpy/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21993

Modified Files:
	numpy-1.0-gfortran.patch numpy.spec 
Log Message:
- Update gfortran patch to recognize latest gfortran f95 support 
- Resolves rhbz#236444


numpy-1.0-gfortran.patch:

Index: numpy-1.0-gfortran.patch
===================================================================
RCS file: /cvs/extras/rpms/numpy/devel/numpy-1.0-gfortran.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- numpy-1.0-gfortran.patch	25 Oct 2006 21:55:43 -0000	1.1
+++ numpy-1.0-gfortran.patch	17 Apr 2007 15:29:10 -0000	1.2
@@ -10,7 +10,23 @@
          'archiver'     : ["ar", "-cr"],
          'ranlib'       : ["ranlib"],
          'linker_exe'   : [fc_exe, "-g", "-Wall"]
-@@ -255,7 +255,7 @@
+@@ -247,12 +247,14 @@ class GnuFCompiler(FCompiler):
+ class Gnu95FCompiler(GnuFCompiler):
+ 
+     compiler_type = 'gnu95'
+-    version_match = simple_version_match(start='GNU Fortran 95')
++    version_match = simple_version_match(start='GNU Fortran (95|\(GCC\))')
+ 
+     # 'gfortran --version' results:
+     # Debian: GNU Fortran 95 (GCC 4.0.3 20051023 (prerelease) (Debian 4.0.2-3))
+     # OS X: GNU Fortran 95 (GCC) 4.1.0
+     #       GNU Fortran 95 (GCC) 4.2.0 20060218 (experimental)
++    #       GNU Fortran (GCC) 4.3.0 20070316 (experimental)
++    # Red Hat: GNU Fortran (GCC) 4.1.2 20070403 (Red Hat 4.1.2-8)
+ 
+     for fc_exe in map(find_executable,['gfortran','f95']):
+         if os.path.isfile(fc_exe):
+@@ -257,7 +257,7 @@
          'compiler_f77' : [fc_exe,"-Wall","-ffixed-form","-fno-second-underscore"],
          'compiler_f90' : [fc_exe,"-Wall","-fno-second-underscore"],
          'compiler_fix' : [fc_exe,"-Wall","-ffixed-form","-fno-second-underscore"],


Index: numpy.spec
===================================================================
RCS file: /cvs/extras/rpms/numpy/devel/numpy.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- numpy.spec	23 Feb 2007 22:17:05 -0000	1.14
+++ numpy.spec	17 Apr 2007 15:29:10 -0000	1.15
@@ -4,7 +4,7 @@
 
 Name:           numpy
 Version:        1.0.1
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        A fast multidimensional array facility for Python
 
 Group:          Development/Languages
@@ -76,6 +76,10 @@
 %{python_sitearch}/%{name}
 
 %changelog
+* Tue Apr 17 2007 Jarod Wilson <jwilson at redhat.com> 1.0.1-4
+- Update gfortran patch to recognize latest gfortran f95 support 
+- Resolves rhbz#236444
+
 * Fri Feb 23 2007 Jarod Wilson <jwilson at redhat.com> 1.0.1-3
 - Fix up cpuinfo bug (#229753). Upstream bug/change:
   http://projects.scipy.org/scipy/scipy/ticket/349




More information about the scm-commits mailing list