rpms/R/FC-3 R.spec,1.4,1.5

Tom Callaway (spot) fedora-extras-commits at redhat.com
Mon Apr 25 00:18:48 UTC 2005


Author: spot

Update of /cvs/extras/rpms/R/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13163/FC-3

Modified Files:
	R.spec 
Log Message:

fix library handling



Index: R.spec
===================================================================
RCS file: /cvs/extras/rpms/R/FC-3/R.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- R.spec	18 Apr 2005 15:06:14 -0000	1.4
+++ R.spec	25 Apr 2005 00:18:46 -0000	1.5
@@ -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 @@
 (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 @@
       /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 @@
 /sbin/ldconfig
 
 %changelog
+* Mon Apr 18 2005 Tom "spot" Callaway <tcallawa at redhat.com> 2.1.0-2
+- fix library handling
+
 * Mon Apr 18 2005 Tom "spot" Callaway <tcallawa at redhat.com> 2.1.0-1
 - 2.1.0, fc3 package
 - The GNOME GUI is unbundled, now provided as a package on CRAN




More information about the fedora-extras-commits mailing list