conditionalize check to break testthat loop, rebuild for R 4.0.0

This commit is contained in:
Tom Callaway 2020-06-03 12:49:55 -04:00
parent d7b59720cf
commit e9af315e04
1 changed files with 11 additions and 1 deletions

View File

@ -1,9 +1,11 @@
%bcond_with check
%global packname fansi
%global rlibdir %{_libdir}/R/library
Name: R-%{packname}
Version: 0.4.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: ANSI Control Sequence Aware String Functions
License: GPLv2+
@ -19,9 +21,11 @@ Source0: https://cran.r-project.org/src/contrib/%{packname}_%{version}.
BuildRequires: R-devel
BuildRequires: tex(latex)
%if %{with check}
BuildRequires: R-unitizer
BuildRequires: R-knitr
BuildRequires: R-rmarkdown
%endif
%description
Counterparts to R string manipulation functions that account for the
@ -46,7 +50,9 @@ rm -f %{buildroot}%{rlibdir}/R.css
%check
%if %{with check}
%{_bindir}/R CMD check %{packname}
%endif
%files
@ -65,6 +71,10 @@ rm -f %{buildroot}%{rlibdir}/R.css
%changelog
* Wed Jun 3 2020 Tom Callaway <spot@fedoraproject.org> - 0.4.1-3
- conditionalize check to break testthat loop
- rebuild for R 4
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild