conditionalize check to break loop, rebuild for R 4
This commit is contained in:
parent
ca7b314480
commit
14bbb66c23
13
R-sys.spec
13
R-sys.spec
|
@ -1,9 +1,11 @@
|
|||
%bcond_with check
|
||||
|
||||
%global packname sys
|
||||
%global rlibdir %{_libdir}/R/library
|
||||
|
||||
Name: R-%{packname}
|
||||
Version: 3.3
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Powerful and Reliable Tools for Running System Commands in R
|
||||
|
||||
License: MIT
|
||||
|
@ -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-unix >= 1.4
|
||||
BuildRequires: R-spelling
|
||||
BuildRequires: R-testthat
|
||||
%endif
|
||||
|
||||
%description
|
||||
Drop-in replacements for the base system2() function with fine control and
|
||||
|
@ -49,9 +53,10 @@ rm %{buildroot}%{rlibdir}/%{packname}/utf8.txt
|
|||
|
||||
|
||||
%check
|
||||
%if %{with check}
|
||||
export LANG=C.UTF-8
|
||||
%{_bindir}/R CMD check %{packname}
|
||||
|
||||
%endif
|
||||
|
||||
%files
|
||||
%dir %{rlibdir}/%{packname}
|
||||
|
@ -70,6 +75,10 @@ export LANG=C.UTF-8
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Jun 5 2020 Tom Callaway <spot@fedoraproject.org> - 3.3-3
|
||||
- conditionalize check to break loop
|
||||
- rebuild for R 4
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue