fix FLIBS cleanup for el5
This commit is contained in:
parent
db13324ce8
commit
e1fee7a8d0
8
R.spec
8
R.spec
@ -82,7 +82,7 @@
|
||||
|
||||
Name: R
|
||||
Version: 3.3.0
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
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-3/R-%{version}.tar.gz
|
||||
@ -678,7 +678,10 @@ sed -i 's|-Wl,--whole-archive %{_builddir}/%{name}-%{version}/zlib-%{zlibv}/targ
|
||||
sed -i 's|-ldl -lpthread .* -lldap -lz -lrt||g' %{buildroot}%{_libdir}/R/etc/Makeconf
|
||||
sed -i 's|-ldl -lpthread .* -lldap -lz -lrt||g' %{buildroot}%{_libdir}/pkgconfig/libR.pc
|
||||
sed -i 's|-I%{_builddir}/%{name}-%{version}/zlib-%{zlibv}/target%{_includedir} -I%{_builddir}/%{name}-%{version}/bzip2-%{bzipv}/target%{_includedir} -I%{_builddir}/%{name}-%{version}/xz-%{xzv}/target%{_includedir} -I%{_builddir}/%{name}-%{version}/pcre-%{pcrev}/target%{_includedir} -I%{_builddir}/%{name}-%{version}/curl-%{curlv}/target%{_includedir}||g' %{buildroot}%{_libdir}/R/etc/Makeconf
|
||||
#el6 FLIBS
|
||||
sed -i 's|-ldl -lpthread .* -lldap -lz||g' %{buildroot}%{_libdir}/R/etc/Makeconf
|
||||
#el5 FLIBS
|
||||
sed -i 's|-ldl -lpthread .* -lldap||g' %{buildroot}%{_libdir}/R/etc/Makeconf
|
||||
%endif
|
||||
|
||||
%check
|
||||
@ -1128,6 +1131,9 @@ R CMD javareconf \
|
||||
%{_libdir}/libRmath.a
|
||||
|
||||
%changelog
|
||||
* Thu Jun 9 2016 Tom Callaway <spot@fedoraproject.org> - 3.3.0-8
|
||||
- fix FLIBS cleanup for el5
|
||||
|
||||
* Thu Jun 9 2016 Tom Callaway <spot@fedoraproject.org> - 3.3.0-7
|
||||
- clean up zlibhack from FLIBS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user