From 4da93074accf8030f59c3e210c6dc0d8b119aea7 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sun, 23 Feb 2020 04:25:57 -0500 Subject: [PATCH] Add bootstrap setup to build without igraph. --- R-ape.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/R-ape.spec b/R-ape.spec index 7a73a8b..906d60c 100644 --- a/R-ape.spec +++ b/R-ape.spec @@ -1,9 +1,11 @@ %global packname ape %global rlibdir %{_libdir}/R/library +%bcond_without bootstrap + Name: R-%{packname} Version: 5.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Analyses of Phylogenetics and Evolution License: GPLv2+ @@ -28,9 +30,11 @@ BuildRequires: R-tools BuildRequires: R-utils BuildRequires: R-parallel BuildRequires: R-Rcpp-devel >= 0.12.0 +%if %{without bootstrap} BuildRequires: R-gee BuildRequires: R-expm BuildRequires: R-igraph +%endif %description Functions for reading, writing, plotting, and manipulating phylogenetic @@ -65,7 +69,11 @@ rm -f %{buildroot}%{rlibdir}/R.css %check +%if %{without bootstrap} %{_bindir}/R CMD check %{packname} +%else +_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --no-examples +%endif %files @@ -86,6 +94,9 @@ rm -f %{buildroot}%{rlibdir}/R.css %changelog +* Sun Feb 23 2020 Elliott Sales de Andrade - 5.3-6 +- Add bootstrap setup to build without igraph + * Tue Feb 18 2020 Tom Callaway - 5.3-5 - rebuild against R without libRlapack.so