Disable bootstrap.

This commit is contained in:
Elliott Sales de Andrade 2019-10-21 13:25:26 -04:00
parent 699bd67752
commit c9bf7dd310
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,5 @@
# When we are bootstrapping, we drop some dependencies, and/or build time tests.
%{?_with_bootstrap: %global bootstrap 1}
%global bootstrap 1
%bcond_with bootstrap
%global packname purrr
%global rlibdir %{_libdir}/R/library
@ -36,7 +35,7 @@ BuildRequires: R-knitr
BuildRequires: R-rmarkdown
BuildRequires: R-testthat
BuildRequires: R-tibble
%if ! 0%{?bootstrap}
%if %{without bootstrap}
BuildRequires: R-dplyr >= 0.7.8
BuildRequires: R-tidyselect
%endif
@ -63,7 +62,7 @@ rm -f %{buildroot}%{rlibdir}/R.css
%check
%if ! 0%{?bootstrap}
%if %{without bootstrap}
%{_bindir}/R CMD check %{packname}
%else
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --no-examples
@ -89,6 +88,7 @@ _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --no-examples
%changelog
* Mon Oct 21 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.3-1
- Update to latest version
- Disable bootstrap
* Sat Mar 16 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.2-1
- Update to latest version