rpms/rpy/devel rpy-1.0.1-FHSinclude.patch, NONE, 1.1 rpy.spec, 1.26, 1.27 rpy-1.0-RC3-FHSinclude.patch, 1.1, NONE

José Abílio Oliveira Matos (jamatos) fedora-extras-commits at redhat.com
Mon Feb 4 12:41:15 UTC 2008


Author: jamatos

Update of /cvs/pkgs/rpms/rpy/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32258

Modified Files:
	rpy.spec 
Added Files:
	rpy-1.0.1-FHSinclude.patch 
Removed Files:
	rpy-1.0-RC3-FHSinclude.patch 
Log Message:
* Mon Feb  4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.0.1-2
- Sometimes _patch_'s guesses are not good enough. Redo patch to setup.py.


rpy-1.0.1-FHSinclude.patch:

--- NEW FILE rpy-1.0.1-FHSinclude.patch ---
--- setup.py.orig	2007-11-27 02:06:32.000000000 +0000
+++ setup.py	2008-02-04 12:12:20.000000000 +0000
@@ -139,8 +139,8 @@
         extra_compile_args=["-shared"]
         source_files = source_files + ["src/setenv.c"]
     else: # unix-like systems, this is known to work for Linux and Solaris
-        include_dirs = [ os.path.join(RHOME.strip(), 'include'), 
-                         'src', '/usr/share/R/include' ]
+        include_dirs = [ os.path.join(RHOME.strip(), 'include'),
+                         'src', '/usr/share/R/include', "/usr/include/R/"]
         libraries=['R','Rlapack']
         library_dirs = r_libs
         runtime_libs = r_libs


Index: rpy.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rpy/devel/rpy.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- rpy.spec	3 Feb 2008 18:21:32 -0000	1.26
+++ rpy.spec	4 Feb 2008 12:40:34 -0000	1.27
@@ -1,20 +1,21 @@
 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
+%define rver   2.6.1
 Name:          rpy
 Summary:       Python interface to the R language
 Version:       1.0.1
-Release:       1%{?dist}
+Release:       2%{?dist}
 Url:           http://rpy.sourceforge.net
 Source:        http://downloads.sf.net/%{name}/%{name}-%{version}.tar.gz
 License:       GPLv2+
 Group:         Development/Libraries
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Patch0:        rpy-1.0-RC3-FHSinclude.patch
+Patch0:        rpy-1.0.1-FHSinclude.patch
 
-BuildRequires: R-devel = 2.6.1, numpy, python-devel, texinfo, tetex
+BuildRequires: R-devel = %{rver}, numpy, python-devel, texinfo, tetex
 
 Requires:      numpy
-Requires:      R = 2.6.1
+Requires:      R = %{rver}
 
 Requires(post): /sbin/install-info
 Requires(preun): /sbin/install-info
@@ -27,8 +28,8 @@
 
 %prep
 %setup -q
-# The R headers are now in /usr/include/R
-%patch0 -p1
+# The R headers are now in /usr/include/R (for F9+)
+%patch0
 
 %build
 env CFLAGS="$RPM_OPT_FLAGS" python setup.py build
@@ -67,6 +68,9 @@
 
 
 %changelog
+* Mon Feb  4 2008 José Matos <jamatos[AT]fc.up.pt> - 1.0.1-2
+- Sometimes _patch_'s guesses are not good enough. Redo patch to setup.py.
+
 * Sun Feb  3 2008 José Matos <jamatos[AT]fc.up.pt> - 1.0.1-1
 - New upstream release.
 


--- rpy-1.0-RC3-FHSinclude.patch DELETED ---




More information about the fedora-extras-commits mailing list