]> git.pld-linux.org Git - packages/R.git/commitdiff
- separate make call for check
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 25 Nov 2007 10:15:34 +0000 (10:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    R.spec -> 1.97

R.spec

diff --git a/R.spec b/R.spec
index e6b6b34fcfd5e5143f22a0fa7f87d4735f5dbe4d..45bbceea3db29d67e8a92dc133cec8f0712b48d1 100644 (file)
--- 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}
 
This page took 0.052144 seconds and 4 git commands to generate.