R 2.8.0
This commit is contained in:
parent
293681375b
commit
bf50a8ae3f
14
rpy-1.0.3-R-2.8.0.patch
Normal file
14
rpy-1.0.3-R-2.8.0.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff -up rpy-1.0.3/src/RPy.h.BAD rpy-1.0.3/src/RPy.h
|
||||
--- rpy-1.0.3/src/RPy.h.BAD 2008-10-26 15:37:50.000000000 -0400
|
||||
+++ rpy-1.0.3/src/RPy.h 2008-10-26 15:39:25.000000000 -0400
|
||||
@@ -74,8 +74,9 @@
|
||||
# endif
|
||||
#endif /* _WIN32 */
|
||||
|
||||
+#if R_VERSION < 133120
|
||||
#include <Rdevices.h> /* must follow Graphics.h */
|
||||
-
|
||||
+#endif
|
||||
|
||||
/* Missing definitions from Rinterface.h or RStartup.h */
|
||||
# define CleanEd Rf_CleanEd
|
10
rpy.spec
10
rpy.spec
@ -1,10 +1,10 @@
|
||||
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
%define rver 2.7.2
|
||||
%define rver 2.8.0
|
||||
Name: rpy
|
||||
Summary: Python interface to the R language
|
||||
Version: 1.0.3
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Url: http://rpy.sourceforge.net
|
||||
Source: http://downloads.sf.net/%{name}/%{name}-%{version}.tar.gz
|
||||
License: GPLv2+
|
||||
@ -16,6 +16,8 @@ Patch0: rpy-1.0.1-FHSinclude.patch
|
||||
# Backported patches from development
|
||||
Patch1: rpy-1.0.3-turn-off-debug.patch
|
||||
Patch2: rpy-1.0.3-use-lapack.patch
|
||||
# Rdevices.h is gone in 2.8.0
|
||||
Patch3: rpy-1.0.3-R-2.8.0.patch
|
||||
|
||||
BuildRequires: R-devel = %{rver}, numpy, python-devel, texinfo-tex, tetex
|
||||
|
||||
@ -36,6 +38,7 @@ converted to Python exceptions.
|
||||
%patch0
|
||||
%patch1 -p2
|
||||
%patch2 -p2
|
||||
%patch3 -p1
|
||||
|
||||
%build
|
||||
env CFLAGS="$RPM_OPT_FLAGS" python setup.py build
|
||||
@ -74,6 +77,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Oct 26 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.3-4
|
||||
- rebuild against R-2.8.0
|
||||
|
||||
* Fri Aug 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.3-3
|
||||
- rebuild against R-2.7.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user