rpms/R/EL-4 R.spec,1.28,1.29
Tom Callaway
spot at fedoraproject.org
Wed Mar 4 22:43:26 UTC 2009
Author: spot
Update of /cvs/pkgs/rpms/R/EL-4
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15550
Modified Files:
R.spec
Log Message:
fix fortran compiler error on EL-4
Index: R.spec
===================================================================
RCS file: /cvs/pkgs/rpms/R/EL-4/R.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- R.spec 4 Mar 2009 21:58:14 -0000 1.28
+++ R.spec 4 Mar 2009 22:42:55 -0000 1.29
@@ -6,7 +6,7 @@
Name: R
Version: 2.8.1
-Release: 2%{?dist}.2
+Release: 3%{?dist}
Summary: A language for data analysis and graphics
URL: http://www.r-project.org
Source0: ftp://cran.r-project.org/pub/R/src/base/R-2/R-%{version}.tar.gz
@@ -157,7 +157,6 @@
export R_PDFVIEWER="%{_bindir}/ggv"
export R_PRINTCMD="lpr"
export R_BROWSER="%{_bindir}/firefox"
-export F77="g77"
# Only broken on EL-4, ppc
%ifarch ppc
export CPICFLAGS="-fPIC"
@@ -170,25 +169,25 @@
x86_64|mips64|ppc64|powerpc64|sparc64|s390x)
export CC="gcc -m64"
export CXX="g++ -m64"
- export F77="gfortran -m64"
- export FC="gfortran -m64"
+ export F77="g77 -m64"
+ export FC="g77 -m64"
;;
ia64|alpha|sh*)
export CC="gcc"
export CXX="g++"
- export F77="gfortran"
- export FC="gfortran"
+ export F77="g77"
+ export FC="g77"
;;
*)
export CC="gcc -m32"
export CXX="g++ -m32"
- export F77="gfortran -m32"
- export FC="gfortran -m32"
+ export F77="g77 -m32"
+ export FC="g77 -m32"
;;
esac
export FCFLAGS="%{optflags}"
-%configure \
+( %configure \
--with-system-zlib --with-system-bzlib --with-system-pcre \
--with-lapack \
--with-tcl-config=%{_libdir}/tclConfig.sh \
@@ -196,11 +195,8 @@
--enable-R-shlib \
rdocdir=%{_docdir}/R-%{version} \
rincludedir=%{_includedir}/R \
- rsharedir=%{_datadir}/R
-# ) \
-# | grep -A30 'R is now' - > CAPABILITIES
-cat config.log
-BARF
+ rsharedir=%{_datadir}/R) \
+ | grep -A30 'R is now' - > CAPABILITIES
make
(cd src/nmath/standalone; make)
#make check-all
@@ -336,6 +332,9 @@
/sbin/ldconfig
%changelog
+* Wed Mar 4 2009 Tom "spot" Callaway <tcallawa at redhat.com> 2.8.1-3
+- fix fortran compiler error on EL-4
+
* Wed Mar 4 2009 Tom "spot" Callaway <tcallawa at redhat.com> 2.8.1-2
- fix R-make-search-index.sh (bz 487022)
- fix libRmath requires to need V-R (thanks to Martyn Plummer)
More information about the fedora-extras-commits
mailing list