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-rgl-0.93.991-1~5 X-Git-Url: https://git.pld-linux.org/?p=packages%2FR-cran-rgl.git;a=commitdiff_plain;h=4efe71bfa1823d902645483144776092865762f5 - fixed post script for R 2.4.0 - R: R >= 2.4.0 Changed files: R-cran-rgl.spec -> 1.2 --- diff --git a/R-cran-rgl.spec b/R-cran-rgl.spec index 6ab51b6..98ca15a 100644 --- a/R-cran-rgl.spec +++ b/R-cran-rgl.spec @@ -4,17 +4,17 @@ Summary: 3D visualization device system (OpenGL) Summary(pl): Sterownik wy¶wietlania 3D (OpenGL) Name: R-cran-%{modulename} Version: 0.64r13 -Release: 1 +Release: 2 License: GPL Group: Applications/Math Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz # Source0-md5: bbbae92de0e3127cec4e8fd9d794d096 URL: http://wsopuppenkiste.wiso.uni-goettingen.de/~dadler/rgl -BuildRequires: R-base >= 2.0.0 +BuildRequires: R-base >= 2.4.0 BuildRequires: XFree86-OpenGL-devel BuildRequires: libpng-devel BuildRequires: libstdc++-devel -Requires(post,postun): R-base >= 2.0.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) @@ -40,12 +40,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