packages: R-cran-leaps/R-cran-leaps.spec - up to 2.9 - BR & R: R >= 2.10.0 ...

madget madget at pld-linux.org
Tue Jan 25 20:22:04 CET 2011


Author: madget                       Date: Tue Jan 25 19:22:04 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 2.9
- BR & R: R >= 2.10.0
- post & postun removed
- fixed install

---- Files affected:
packages/R-cran-leaps:
   R-cran-leaps.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: packages/R-cran-leaps/R-cran-leaps.spec
diff -u packages/R-cran-leaps/R-cran-leaps.spec:1.8 packages/R-cran-leaps/R-cran-leaps.spec:1.9
--- packages/R-cran-leaps/R-cran-leaps.spec:1.8	Sun Jan  4 17:53:57 2009
+++ packages/R-cran-leaps/R-cran-leaps.spec	Tue Jan 25 20:21:58 2011
@@ -4,17 +4,15 @@
 Summary:	Regression subset selection
 Summary(pl.UTF-8):	Wybór podzbioru regresji
 Name:		R-cran-%{modulename}
-Version:	2.7
-Release:	2
+Version:	2.9
+Release:	1
 License:	GPL v2+
 Group:		Applications/Math
 Source0:	ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{version}.tar.gz
-# Source0-md5:	551d8cd9a53d2eee7c13108577910a44
-BuildRequires:	R >= 2.8.1
+# Source0-md5:	ea03350869eeed25d64387402228ab09
+BuildRequires:	R >= 2.10.0
 BuildRequires:	gcc-fortran
-Requires(post,postun):	R >= 2.8.1
-Requires(post,postun):	perl-base
-Requires(post,postun):	textutils
+Requires:	R >= 2.10.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,21 +29,12 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
 R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-(cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
- R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --index)
-
-%postun
-if [ -f %{_libdir}/R/bin/Rcmd ];then
-	(cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
-	R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --index)
-fi
-
 %files
 %defattr(644,root,root,755)
 %doc %{modulename}/{DESCRIPTION,README}
@@ -57,6 +46,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2011/01/25 19:21:58  madget
+- up to 2.9
+- BR & R: R >= 2.10.0
+- post & postun removed
+- fixed install
+
 Revision 1.8  2009/01/04 16:53:57  baggins
 - updated R reqs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/R-cran-leaps/R-cran-leaps.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list