Add bootstrap setup to build without igraph.

This commit is contained in:
Elliott Sales de Andrade 2020-02-23 04:25:57 -05:00
parent 70130b83a2
commit 4da93074ac

View File

@ -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 <quantum.analyst@gmail.com> - 5.3-6
- Add bootstrap setup to build without igraph
* Tue Feb 18 2020 Tom Callaway <spot@fedoraproject.org> - 5.3-5
- rebuild against R without libRlapack.so