[rpy] 2.2.1

Tom Callaway spot at fedoraproject.org
Mon Jul 11 19:40:24 UTC 2011


commit 0c4281e466ef57bcc205096c178d15f4b9ae7dc6
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date:   Mon Jul 11 15:40:13 2011 -0400

    2.2.1

 .gitignore |    1 +
 rpy.spec   |   19 ++++++++-----------
 sources    |    2 +-
 3 files changed, 10 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 905778c..eeec5ec 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 rpy2-2.1.3.tar.gz
 /rpy2-2.1.7.tar.gz
 /rpy2-2.1.9.tar.gz
+/rpy2-2.2.1.tar.gz
diff --git a/rpy.spec b/rpy.spec
index 4ce2280..3cc8e22 100644
--- a/rpy.spec
+++ b/rpy.spec
@@ -1,15 +1,14 @@
 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
-%global rver   2.13.0
+%global rver   2.13.1
 Name:          rpy
 Summary:       Python interface to the R language
-Version:       2.1.9
-Release:       4%{?dist}
+Version:       2.2.1
+Release:       1%{?dist}
 Url:           http://rpy.sourceforge.net
 Source:        http://downloads.sf.net/%{name}/%{name}2-%{version}.tar.gz
 License:       MPLv1.1 or GPLv2+ or LGPLv2+
 Group:         Development/Libraries
-BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: R-devel = %{rver}, numpy, python-devel
 
 Requires:      numpy
@@ -26,30 +25,28 @@ converted to Python exceptions.
 
 %prep
 %setup -q -n %{name}2-%{version}
-chmod -x rpy/rinterface/rinterface.c
 
 %build
 env CFLAGS="$RPM_OPT_FLAGS" python setup.py build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-python setup.py install -O1 --skip-build --root=$RPM_BUILD_ROOT
+python setup.py install -O1 --skip-build --root=%{buildroot}
 %if 0%{?__isa_bits} == 64
 %ifnarch ia64
 mv %{buildroot}/usr/lib/python2.?/site-packages/rpy2/images %{buildroot}%{python_sitearch}/rpy2/
 %endif
 %endif
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root)
 %doc AUTHORS NEWS README GPL_LICENSE LGPL_LICENSE MPL_LICENSE PKG-INFO
 %{python_sitearch}/rpy2/
 %{python_sitearch}/rpy2-%{version}*.egg-info
 
 %changelog
+* Mon Jul 11 2011 Tom Callaway <spot at fedoraproject.org> - 2.2.1-1
+- update to 2.2.1, note R at 2.13.1
+- spec file modernization
+
 * Fri Apr 15 2011 Michel Salim <salimma at fedoraproject.org> - 2.1.9-4
 - Rebuild for R 2.13.0
 
diff --git a/sources b/sources
index 0591e98..e008f2a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-afe629914e7263900e5d15d419f69865  rpy2-2.1.9.tar.gz
+422a31a1b3cf36efafdae53306f7f422  rpy2-2.2.1.tar.gz


More information about the scm-commits mailing list