diff --git a/R-purrr.spec b/R-purrr.spec index 3bc0dbb..d9de92c 100644 --- a/R-purrr.spec +++ b/R-purrr.spec @@ -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 - 0.3.3-1 - Update to latest version +- Disable bootstrap * Sat Mar 16 2019 Elliott Sales de Andrade - 0.3.2-1 - Update to latest version