From: Jan Rękorajski Date: Thu, 8 Feb 2007 18:02:05 +0000 (+0000) Subject: - fixed post script for R 2.4.0 X-Git-Tag: auto/th/R-cran-xgobi-1.2r15-1~4 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?p=packages%2FR-cran-xgobi.git;a=commitdiff_plain;h=fc310466fe3b4215d91fc07523837aba11d3843d - fixed post script for R 2.4.0 - R: R >= 2.4.0 Changed files: R-cran-xgobi.spec -> 1.4 --- diff --git a/R-cran-xgobi.spec b/R-cran-xgobi.spec index 7d45c2d..92bd44f 100644 --- a/R-cran-xgobi.spec +++ b/R-cran-xgobi.spec @@ -4,13 +4,13 @@ Summary: Interface to the XGobi and XGvis programs for graphical data analysis Summary(pl): Interfejsy do programów XGobi i XGvis do graficznej analizy danych Name: R-cran-%{modulename} Version: 1.2r12 -Release: 1 +Release: 2 License: Copyright (C) by Bellcore, non-profit use and redistribution permitted (see COPYING for details) Group: Applications/Math Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz # Source0-md5: 3edae689c69c12ef71df1ee269c1b1b8 -BuildRequires: R-base >= 2.0.0 -Requires(post,postun): R-base >= 2.0.0 +BuildRequires: R-base >= 2.4.0 +Requires(post,postun): R-base >= 2.4.0 Requires(post,postun): perl-base Requires(post,postun): textutils BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -36,12 +36,12 @@ 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 --htmllist) + 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 --htmllist) + R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --index) fi %files