diff --git a/.gitignore b/.gitignore index 0ae5aed..9181a29 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /testthat_0.11.0.tar.gz /testthat_1.0.2.tar.gz +/testthat_2.0.0.tar.gz diff --git a/R-testthat.spec b/R-testthat.spec index 1246e51..e5e6764 100644 --- a/R-testthat.spec +++ b/R-testthat.spec @@ -1,18 +1,19 @@ %global packname testthat -%global packver 1.0.2 +%global packver 2.0.0 Name: R-%{packname} Version: %{packver} -Release: 6%{?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 Group: Applications/Engineering Summary: Unit Testing for R BuildRequires: R-devel >= 3.4.0, tetex-latex, R-digest-devel, R-crayon, R-praise -BuildRequires: R-magrittr, R-R6, R-methods +BuildRequires: R-magrittr, R-R6 >= 2.2.0, R-methods +BuildRequires: R-rlang, R-withr >= 2.0.0, R-cli, R-digest Requires: R-core >= 3.4.0, R-digest, R-crayon, R-praise -Requires: R-magrittr, R-R6, R-methods +Requires: R-magrittr, R-R6 >= 2.2.0, R-methods %description A unit testing system designed to be fun, flexible, and easy to set up. @@ -29,11 +30,14 @@ 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 -%{_bindir}/R CMD check %{packname} +%{_bindir}/R CMD check --ignore-vignettes %{packname} +%endif %files %dir %{_libdir}/R/library/%{packname} +%doc %{_libdir}/R/library/%{packname}/doc %doc %{_libdir}/R/library/%{packname}/html %doc %{_libdir}/R/library/%{packname}/CITATION # Not the actual license text. Not too useful. @@ -50,6 +54,9 @@ export _R_CHECK_FORCE_SUGGESTS_=0 %{_libdir}/R/library/%{packname}/include/ %changelog +* Wed May 16 2018 Tom Callaway - 2.0.0-1 +- gotta go to 2.0.0 + * Wed May 16 2018 Tom Callaway - 1.0.2-6 - rebuild for R 3.5.0 diff --git a/sources b/sources index 01c1ee1..320a5d8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (testthat_1.0.2.tar.gz) = 0fb865499def05c9fd59bf7716359f9cf614bfa31de1ad29f00f74b6d72e7600987698557ea27d489a1c2f2ab4520413eac81b56800492c375bb95699fc3dd51 +SHA512 (testthat_2.0.0.tar.gz) = ae7bf9518f9f990653145ef027d48d84b8060e02c8c0c572e7fbb5699c661414a42e549bde653935ba2399314558d2863be5e6d896c92dd4362a5ebe339253bc