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-effects-2.3r0-1~4 X-Git-Url: http://git.pld-linux.org/?p=packages%2FR-cran-effects.git;a=commitdiff_plain;h=37cb7cd66f749416553ad92a0ef5fe0b0735cbec - fixed post script for R 2.4.0 - R: R >= 2.4.0 Changed files: R-cran-effects.spec -> 1.4 --- diff --git a/R-cran-effects.spec b/R-cran-effects.spec index 127f403..3c04414 100644 --- a/R-cran-effects.spec +++ b/R-cran-effects.spec @@ -4,14 +4,14 @@ Summary: Effect Displays for Linear and Generalized Linear Models Summary(pl): Wy¶wietlanie efektów dla liniowych i uogólnionych modeli liniowych Name: R-cran-%{modulename} Version: 1.0r5 -Release: 1 +Release: 2 License: GPL v2+ Group: Applications/Math Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz # Source0-md5: 79390a9807537b24e92956a0614c4ac7 URL: http://socserv.socsci.mcmaster.ca/jfox/ -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 Requires: R-cran-grid @@ -41,12 +41,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