From: Jakub Bogusz Date: Sun, 25 Nov 2007 10:15:34 +0000 (+0000) Subject: - separate make call for check X-Git-Tag: auto/th/R-2_6_1-1~1 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=8d4651f63b52788ffa188e85f7f937ab568f00e9;hp=dd33283d0eeee9b376a02557a84f9e7edd41540a;p=packages%2FR.git - separate make call for check Changed files: R.spec -> 1.97 --- diff --git a/R.spec b/R.spec index e6b6b34..45bbcee 100644 --- a/R.spec +++ b/R.spec @@ -1,8 +1,8 @@ - +# # Conditional build %bcond_without tcl # disable tcl support %bcond_without tests # do not run "make check" - +# # TODO: # - script for rpm to autoprovides/autorequires R internals # @@ -183,7 +183,10 @@ dystrubuowane w archiwum CRAN (Comprehensive R Archive Network). # --with-lapack \ %{__make} -%{__make} %{?with_tests:check} docs help html info +%if %{with tests} +%{__make} check +%endif +%{__make} docs help html info %install rm -rf $RPM_BUILD_ROOT @@ -191,7 +194,7 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_libdir}/R,%{_includedir install -d $RPM_BUILD_ROOT%{perl_vendorlib}/{R,Text} %{__make} install \ - DESTDIR=${RPM_BUILD_ROOT} + DESTDIR=$RPM_BUILD_ROOT install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}