From c33096047203ff0e1eb78ca3a32213973fc2492e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Fri, 29 Nov 2013 11:53:46 +0100 Subject: [PATCH] - drop non-working post scriptlets - rel 2 --- R-cran-Formula.spec | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/R-cran-Formula.spec b/R-cran-Formula.spec index 79815c7..837cfa1 100644 --- a/R-cran-Formula.spec +++ b/R-cran-Formula.spec @@ -3,7 +3,7 @@ Summary: Extended Model Formulas Name: R-cran-%{modulename} Version: 1.1r1 -Release: 1 +Release: 2 License: GPL v2+ Group: Applications/Math Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz @@ -35,16 +35,6 @@ 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 -- 2.43.0