bootstrap off, but rework check logic around missing phangorn

This commit is contained in:
Tom spot Callaway 2021-06-17 16:27:28 -04:00
parent 1468685686
commit 62c3c7cce0

View File

@ -2,7 +2,10 @@
%global packver 5.5
%global rlibdir %{_libdir}/R/library
%bcond_without bootstrap
# Cannot enable until phangorn is added
%global with_suggests 0
%bcond_with bootstrap
Name: R-%{packname}
Version: 5.5
@ -35,8 +38,10 @@ BuildRequires: R-Rcpp-devel >= 0.12.0
BuildRequires: R-gee
BuildRequires: R-expm
BuildRequires: R-igraph
%if %{with_suggests}
BuildRequires: R-phangorn
%endif
%endif
%description
Functions for reading, writing, plotting, and manipulating phylogenetic
@ -72,10 +77,12 @@ 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} --no-examples
%endif
%endif
%files
@ -96,6 +103,9 @@ _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --no-examples
%changelog
* Thu Jun 17 2021 Tom Callaway <spot@fedoraproject.org> - 5.5-2
- bootstrap off, but rework check logic around missing phangorn
* Tue Jun 15 2021 Tom Callaway <spot@fedoraproject.org> - 5.5-1
- update to 5.5
- bootstrap