rpms/R/EL-4 R.spec,1.17,1.18

Tom Callaway (spot) fedora-extras-commits at redhat.com
Tue Jul 3 12:39:26 UTC 2007


Author: spot

Update of /cvs/pkgs/rpms/R/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11082/EL-4

Modified Files:
	R.spec 
Log Message:

Fix EPEL builds.



Index: R.spec
===================================================================
RCS file: /cvs/pkgs/rpms/R/EL-4/R.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- R.spec	3 Jul 2007 02:04:44 -0000	1.17
+++ R.spec	3 Jul 2007 12:38:51 -0000	1.18
@@ -1,6 +1,6 @@
 Name: R
 Version: 2.5.1
-Release: 1%{?dist}
+Release: 1%{?dist}.1
 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
@@ -109,6 +109,13 @@
 export R_PRINTCMD="lpr"
 export R_BROWSER="%{_bindir}/firefox"
 export F77="g77"
+# Only broken on EL-4, ppc
+%ifarch ppc
+export CPICFLAGS="-fPIC"
+export FPICFLAGS="-fPIC"
+export FCPICFLAGS="-fPIC"
+export CXXPICFLAGS="-fPIC"
+%endif
 ( %configure \
     --with-system-zlib --with-system-bzlib --with-system-pcre \
     --with-tcl-config=%{_libdir}/tclConfig.sh \
@@ -237,6 +244,9 @@
 /sbin/ldconfig
 
 %changelog
+* Tue Jul  3 2007 Tom "spot" Callaway <tcallawa at redhat.com> 2.5.1-1.1
+- fix ppc on EL-4
+
 * Mon Jul  2 2007 Tom "spot" Callaway <tcallawa at redhat.com> 2.5.1-1
 - drop patch, upstream fixed
 - bump to 2.5.1




More information about the fedora-extras-commits mailing list