generalize reference to 2.6 to 2.? in %%install

This commit is contained in:
dmalcolm 2010-07-27 00:20:48 +00:00
parent 4066fc9572
commit d972993517

View File

@ -4,7 +4,7 @@
Name: rpy
Summary: Python interface to the R language
Version: 2.1.3
Release: 2%{?dist}
Release: 3%{?dist}
Url: http://rpy.sourceforge.net
Source: http://downloads.sf.net/%{name}/%{name}2-%{version}.tar.gz
License: MPLv1.1 or GPLv2+ or LGPLv2+
@ -36,7 +36,7 @@ rm -rf $RPM_BUILD_ROOT
python setup.py install -O1 --skip-build --root=$RPM_BUILD_ROOT
%if 0%{?__isa_bits} == 64
%ifnarch ia64
mv %{buildroot}/usr/lib/python2.6/site-packages/rpy2/images %{buildroot}%{python_sitearch}/rpy2/
mv %{buildroot}/usr/lib/python2.?/site-packages/rpy2/images %{buildroot}%{python_sitearch}/rpy2/
%endif
%endif
@ -50,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitearch}/rpy2-%{version}*.egg-info
%changelog
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.1.3-3
- generalize reference to 2.6 to 2.? in %%install
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.1.3-2
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild