diff --git a/R.spec b/R.spec index 0884132..e40b964 100644 --- a/R.spec +++ b/R.spec @@ -1,6 +1,6 @@ Name: R Version: 2.1.0 -Release: 1 +Release: 2 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-2/R-%{version}.tar.gz @@ -146,12 +146,16 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/R/doc/html/search/index.txt (cd %{buildroot}%{_libdir}/R; rm -f AUTHORS COPYING COPYING.LIB COPYRIGHTS FAQ NEWS ONEWS RESOURCES THANKS) +mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d +echo "%{_libdir}/R/lib" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf + %files %defattr(-, root, root) %{_bindir}/R %{_libdir}/R %{_infodir}/R-*.info* %{_mandir}/man1/* +/etc/ld.so.conf.d/* %doc AUTHORS CAPABILITIES COPYING COPYING.LIB COPYRIGHTS FAQ NEWS %doc ONEWS README RESOURCES THANKS VERSION Y2K %doc doc/manual/R-admin.pdf @@ -185,6 +189,10 @@ for doc in admin exts FAQ intro lang; do /sbin/install-info ${file} %{_infodir}/dir 2>/dev/null fi done +/sbin/ldconfig + +%postun +/sbin/ldconfig # Update package indices %{_bindir}/R CMD perl %{_libdir}/R/share/perl/build-help.pl --htmllists > /dev/null 2>/dev/null @@ -212,6 +220,9 @@ fi /sbin/ldconfig %changelog +* Mon Apr 18 2005 Tom "spot" Callaway 2.1.0-2 +- fix library handling + * Mon Apr 18 2005 Tom "spot" Callaway 2.1.0-1 - 2.1.0, fc3 package - The GNOME GUI is unbundled, now provided as a package on CRAN