SPECS: R.spec - separate make call for check

qboosh qboosh at pld-linux.org
Sun Nov 25 11:15:39 CET 2007


Author: qboosh                       Date: Sun Nov 25 10:15:39 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- separate make call for check

---- Files affected:
SPECS:
   R.spec (1.96 -> 1.97) 

---- Diffs:

================================================================
Index: SPECS/R.spec
diff -u SPECS/R.spec:1.96 SPECS/R.spec:1.97
--- SPECS/R.spec:1.96	Sat Nov 24 16:16:56 2007
+++ SPECS/R.spec	Sun Nov 25 11:15:34 2007
@@ -1,9 +1,9 @@
 # $Revision$, $Date$
-
+#
 # 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
 #
@@ -184,7 +184,10 @@
 #	--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
@@ -192,7 +195,7 @@
 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}
 
@@ -304,6 +307,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.97  2007-11-25 10:15:34  qboosh
+- separate make call for check
+
 Revision 1.96  2007-11-24 15:16:56  radek
 - release 0.2: kill the *.pm properly (symlinks...)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/R.spec?r1=1.96&r2=1.97&f=u



More information about the pld-cvs-commit mailing list