diff --git a/R-bench.spec b/R-bench.spec index b285dfb..7d3309c 100644 --- a/R-bench.spec +++ b/R-bench.spec @@ -4,8 +4,7 @@ %global __suggests_exclude ^R\\((ggbeeswarm|ggplot2|ggridges)\\) -# When we are bootstrapping, we drop some dependencies, and/or build time tests. -%bcond_with bootstrap +%bcond_with suggests Name: R-%{packname} Version: %{packver} @@ -36,7 +35,7 @@ BuildRequires: R-utils BuildRequires: R-mockery BuildRequires: R-parallel BuildRequires: R-testthat -%if %{without bootstrap} +%if %{with suggests} BuildRequires: R-dplyr BuildRequires: R-forcats BuildRequires: R-ggbeeswarm @@ -71,7 +70,7 @@ rm -f %{buildroot}%{rlibdir}/R.css %check -%if %{without bootstrap} +%if %{with suggests} %{_bindir}/R CMD check %{packname} %else _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname}