Changed files:
R.spec -> 1.97
-
+#
# 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
#
# --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
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}