update to 1.11, disable check via conditional, rebuild for R 4.1.0

This commit is contained in:
Tom spot Callaway 2021-06-07 16:50:29 -04:00
parent 92b1a780e8
commit edbed2016a
3 changed files with 15 additions and 3 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/formatR_1.7.tar.gz /formatR_1.7.tar.gz
/formatR_1.8.tar.gz /formatR_1.8.tar.gz
/formatR_1.9.tar.gz /formatR_1.9.tar.gz
/formatR_1.11.tar.gz

View File

@ -1,9 +1,11 @@
%bcond_with check
%global packname formatR %global packname formatR
%global packver 1.9 %global packver 1.11
%global rlibdir %{_datadir}/R/library %global rlibdir %{_datadir}/R/library
Name: R-%{packname} Name: R-%{packname}
Version: 1.9 Version: 1.11
Release: 1%{?dist} Release: 1%{?dist}
Summary: Format R Code Automatically Summary: Format R Code Automatically
@ -21,11 +23,13 @@ Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.
BuildArch: noarch BuildArch: noarch
BuildRequires: R-devel BuildRequires: R-devel
BuildRequires: tex(latex) BuildRequires: tex(latex)
%if %{with check}
BuildRequires: R-codetools BuildRequires: R-codetools
BuildRequires: R-shiny BuildRequires: R-shiny
BuildRequires: R-testit BuildRequires: R-testit
BuildRequires: R-rmarkdown BuildRequires: R-rmarkdown
BuildRequires: R-knitr BuildRequires: R-knitr
%endif
%description %description
Provides a function tidy_source() to format R source code. Spaces and indent Provides a function tidy_source() to format R source code. Spaces and indent
@ -49,7 +53,9 @@ rm -f %{buildroot}%{rlibdir}/R.css
%check %check
%if %{with check}
%{_bindir}/R CMD check %{packname} %{_bindir}/R CMD check %{packname}
%endif
%files %files
@ -68,6 +74,11 @@ rm -f %{buildroot}%{rlibdir}/R.css
%changelog %changelog
* Mon Jun 7 2021 Tom Callaway <spot@fedoraproject.org> - 1.11-1
- update to 1.11
- conditionalize check and BR, disable check
- Rebuilt for R 4.1.0
* Sat Apr 17 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.9-1 * Sat Apr 17 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.9-1
- Update to latest version (#1949655) - Update to latest version (#1949655)

View File

@ -1 +1 @@
SHA512 (formatR_1.9.tar.gz) = 2308687aefe30cdb03f1b25b8cf6cb9b46408a15736112f38200156514e634eca2226b7c5b6c2bd72a12c55616de175bb1b4c01c2de22829e8d49cab67c44f33 SHA512 (formatR_1.11.tar.gz) = 448eb939300e060b5cf4ae5b2c3b5067469600d7a888de8725bf68fa3ec503419bfa5e2a969e42b295ed823408e9752597478432468758fc98af12ae1943937f