rebuild for R 4.1.0, disable check via conditional

This commit is contained in:
Tom spot Callaway 2021-06-07 16:54:07 -04:00
parent ebc000cac1
commit 0c007e3f64
1 changed files with 11 additions and 1 deletions

View File

@ -1,10 +1,12 @@
%bcond_with check
%global packname fs
%global packver 1.5.0
%global rlibdir %{_libdir}/R/library
Name: R-%{packname}
Version: 1.5.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Cross-Platform File System Operations Based on 'libuv'
License: GPLv3
@ -24,6 +26,7 @@ BuildRequires: pkgconfig(libuv) >= 1.18.0
BuildRequires: R-devel
BuildRequires: tex(latex)
BuildRequires: R-methods
%if %{with check}
BuildRequires: R-testthat
BuildRequires: R-pillar >= 1.0.0
BuildRequires: R-tibble >= 1.1.0
@ -35,6 +38,7 @@ BuildRequires: R-spelling
%if %{fedora} > 32
BuildRequires: R-vctrs >= 0.3.0
%endif
%endif
%description
A cross-platform interface to file system operations, built on top of the
@ -66,12 +70,14 @@ rm -f %{buildroot}%{rlibdir}/R.css
%check
%if %{with check}
export LANG=C.UTF-8
%if %{fedora} > 32
%{_bindir}/R CMD check %{packname}
%else
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname}
%endif
%endif
%files
@ -92,6 +98,10 @@ _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname}
%changelog
* Mon Jun 7 2021 Tom Callaway <spot@fedoraproject.org> - 1.5.0-3
- Rebuilt for R 4.1.0
- disable check via conditional
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild