conditionalize check to break testthat loop, rebuild for R 4.0.0
This commit is contained in:
parent
011e019d1e
commit
aeaea45b6f
@ -1,3 +1,5 @@
|
|||||||
|
%bcond_with check
|
||||||
|
|
||||||
%global packname rprojroot
|
%global packname rprojroot
|
||||||
%global rlibdir %{_datadir}/R/library
|
%global rlibdir %{_datadir}/R/library
|
||||||
%global packver 1.3-2
|
%global packver 1.3-2
|
||||||
@ -7,7 +9,7 @@
|
|||||||
|
|
||||||
Name: R-%{packname}
|
Name: R-%{packname}
|
||||||
Version: 1.3.2
|
Version: 1.3.2
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: Finding Files in Project Subdirectories
|
Summary: Finding Files in Project Subdirectories
|
||||||
|
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
@ -25,6 +27,7 @@ BuildArch: noarch
|
|||||||
BuildRequires: R-devel
|
BuildRequires: R-devel
|
||||||
BuildRequires: tex(latex)
|
BuildRequires: tex(latex)
|
||||||
BuildRequires: R-backports
|
BuildRequires: R-backports
|
||||||
|
%if %{with check}
|
||||||
BuildRequires: R-testthat
|
BuildRequires: R-testthat
|
||||||
BuildRequires: R-mockr
|
BuildRequires: R-mockr
|
||||||
%if %{with_doc}
|
%if %{with_doc}
|
||||||
@ -32,6 +35,7 @@ BuildRequires: R-knitr
|
|||||||
BuildRequires: R-withr
|
BuildRequires: R-withr
|
||||||
BuildRequires: R-rmarkdown
|
BuildRequires: R-rmarkdown
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Robust, reliable and flexible paths to files below a project root. The
|
Robust, reliable and flexible paths to files below a project root. The
|
||||||
@ -54,12 +58,14 @@ rm -f %{buildroot}%{rlibdir}/R.css
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if %{with check}
|
||||||
export NOT_CRAN=true
|
export NOT_CRAN=true
|
||||||
%if %{with_doc}
|
%if %{with_doc}
|
||||||
%{_bindir}/R CMD check %{packname}
|
%{_bindir}/R CMD check %{packname}
|
||||||
%else
|
%else
|
||||||
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes
|
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -76,6 +82,10 @@ _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 3 2020 Tom Callaway <spot@fedoraproject.org> - 1.3.2-8
|
||||||
|
- conditionalize check to break testthat loop
|
||||||
|
- rebuild for R 4
|
||||||
|
|
||||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-7
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user