rebuild for R 4.1.0, bootstrap

This commit is contained in:
Tom spot Callaway 2021-06-10 10:35:27 -04:00
parent c0c19d6c55
commit c007f64a28
1 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,5 @@
%bcond_without bootstrap
%global packname utf8
%global packver 1.2.1
%global rlibdir %{_libdir}/R/library
@ -7,7 +9,7 @@
Name: R-%{packname}
Version: 1.2.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Unicode Text Processing
License: ASL 2.0
@ -23,12 +25,14 @@ Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.
BuildRequires: R-devel
BuildRequires: tex(latex)
%if %{without bootstrap}
BuildRequires: R-testthat >= 3.0.0
%if %{with_doc}
BuildRequires: R-knitr
BuildRequires: R-rlang
BuildRequires: R-rmarkdown
%endif
%endif
%description
Process and print 'UTF-8' encoded international text (Unicode). Input,
@ -53,11 +57,13 @@ rm -f %{buildroot}%{rlibdir}/R.css
%check
%if %{without bootstrap}
%if %{with_doc}
%{_bindir}/R CMD check %{packname}
%else
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes
%endif
%endif
%files
@ -76,6 +82,10 @@ _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes
%changelog
* Thu Jun 10 2021 Tom Callaway <spot@fedoraproject.org> - 1.2.1-2
- Rebuilt for R 4.1.0
- bootstrap
* Sun Mar 14 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.2.1-1
- Update to latest version (#1938375)