conditionalize check to break testthat loop, rebuild for R 4
This commit is contained in:
parent
75e8b67523
commit
8f43cad862
12
R-desc.spec
12
R-desc.spec
@ -1,9 +1,11 @@
|
||||
%bcond_with check
|
||||
|
||||
%global packname desc
|
||||
%global rlibdir %{_datadir}/R/library
|
||||
|
||||
Name: R-%{packname}
|
||||
Version: 1.2.0
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: Manipulate DESCRIPTION Files
|
||||
|
||||
License: MIT
|
||||
@ -25,9 +27,11 @@ BuildRequires: R-utils
|
||||
BuildRequires: R-R6
|
||||
BuildRequires: R-crayon
|
||||
BuildRequires: R-rprojroot
|
||||
%if %{with check}
|
||||
BuildRequires: R-testthat
|
||||
BuildRequires: R-whoami
|
||||
BuildRequires: R-withr
|
||||
%endif
|
||||
|
||||
%description
|
||||
Tools to read, write, create, and manipulate DESCRIPTION files. It is
|
||||
@ -55,8 +59,10 @@ rm %{buildroot}%{rlibdir}/%{packname}/README.md
|
||||
|
||||
|
||||
%check
|
||||
%if %{with check}
|
||||
export LANG=C.UTF-8
|
||||
%{_bindir}/R CMD check %{packname}
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
@ -75,6 +81,10 @@ export LANG=C.UTF-8
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jun 3 2020 Tom Callaway <spot@fedoraproject.org> - 1.2.0-7
|
||||
- conditionalize check to break testthat loop
|
||||
- rebuild for R 4
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user