Update to latest version.

This commit is contained in:
Elliott Sales de Andrade 2019-02-21 05:25:45 -05:00
parent e8090d5271
commit cf486d0d83
3 changed files with 15 additions and 5 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/testthat_0.11.0.tar.gz
/testthat_1.0.2.tar.gz
/testthat_2.0.0.tar.gz
/testthat_2.0.1.tar.gz

View File

@ -1,9 +1,11 @@
%bcond_without check
%global packname testthat
%global packver 2.0.0
%global packver 2.0.1
Name: R-%{packname}
Version: %{packver}
Release: 4%{?dist}
Release: 1%{?dist}
Source0: ftp://cran.r-project.org/pub/R/contrib/main/%{packname}_%{packver}.tar.gz
License: MIT
URL: http://cran.r-project.org/web/packages/testthat/index.html
@ -18,6 +20,9 @@ BuildRequires: R-praise
BuildRequires: R-R6 >= 2.2.0
BuildRequires: R-rlang
BuildRequires: R-withr >= 2.0.0
%if %{with check}
BuildRequires: R-xml2
%endif
Requires: R-core >= 3.4.0
Requires: R-cli
Requires: R-crayon
@ -44,8 +49,8 @@ test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
rm -rf $RPM_BUILD_ROOT%{_libdir}/R/library/R.css
%check
%if 0
export _R_CHECK_FORCE_SUGGESTS_=0
%if %{with check}
export _R_CHECK_FORCE_SUGGESTS_=0 LANG=C.UTF-8
%{_bindir}/R CMD check --ignore-vignettes %{packname}
%endif
@ -68,6 +73,10 @@ export _R_CHECK_FORCE_SUGGESTS_=0
%{_libdir}/R/library/%{packname}/include/
%changelog
* Thu Feb 21 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.1-1
- Update to latest version
- Enable tests
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (testthat_2.0.0.tar.gz) = ae7bf9518f9f990653145ef027d48d84b8060e02c8c0c572e7fbb5699c661414a42e549bde653935ba2399314558d2863be5e6d896c92dd4362a5ebe339253bc
SHA512 (testthat_2.0.1.tar.gz) = 41d6e7243fc2bb291980e7bead1a979d461a2d608aa9cc48671ac311bbcac233ca80401f7027405e38d68e31822ec3c5bf2b3a237c0f56a8e9b4d7b1835b2426