disable check to break testthat loop, rebuild for R 4

This commit is contained in:
Tom Callaway 2020-06-03 16:12:21 -04:00
parent dab23284dd
commit f8a22a364f

View File

@ -1,10 +1,12 @@
%bcond_with check
%global packname processx %global packname processx
%global packver 3.4.2 %global packver 3.4.2
%global rlibdir %{_libdir}/R/library %global rlibdir %{_libdir}/R/library
Name: R-%{packname} Name: R-%{packname}
Version: 3.4.2 Version: 3.4.2
Release: 1%{?dist} Release: 2%{?dist}
Summary: Execute and Control System Processes Summary: Execute and Control System Processes
License: MIT License: MIT
@ -25,6 +27,7 @@ BuildRequires: tex(latex)
BuildRequires: R-ps >= 1.2.0 BuildRequires: R-ps >= 1.2.0
BuildRequires: R-R6 BuildRequires: R-R6
BuildRequires: R-utils BuildRequires: R-utils
%if %{with check}
BuildRequires: R-callr >= 3.2.0 BuildRequires: R-callr >= 3.2.0
BuildRequires: R-codetools BuildRequires: R-codetools
BuildRequires: R-crayon BuildRequires: R-crayon
@ -33,6 +36,7 @@ BuildRequires: R-debugme
BuildRequires: R-parallel BuildRequires: R-parallel
BuildRequires: R-testthat BuildRequires: R-testthat
BuildRequires: R-withr BuildRequires: R-withr
%endif
%description %description
Tools to run system processes in the background. It can check if a Tools to run system processes in the background. It can check if a
@ -68,7 +72,9 @@ install -pm 0644 %{packname}/README.md %{buildroot}%{rlibdir}/%{packname}/
%check %check
%if %{with check}
%{_bindir}/R CMD check %{packname} %{_bindir}/R CMD check %{packname}
%endif
%files %files
@ -91,6 +97,10 @@ install -pm 0644 %{packname}/README.md %{buildroot}%{rlibdir}/%{packname}/
%changelog %changelog
* Wed Jun 3 2020 Tom Callaway <spot@fedoraproject.org> - 3.4.2-2
- rebuild for R 4
- conditionalize check to break testthat loop
* Wed Feb 12 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.4.2-1 * Wed Feb 12 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.4.2-1
- Update to latest version - Update to latest version