diff --git a/R-curl.spec b/R-curl.spec index 9d1c5fa..b8a3dc7 100644 --- a/R-curl.spec +++ b/R-curl.spec @@ -1,3 +1,5 @@ +%bcond_with check + %global packname curl %global rlibdir %{_libdir}/R/library @@ -8,7 +10,7 @@ Name: R-%{packname} Version: 4.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A Modern and Flexible Web Client for R License: MIT @@ -25,6 +27,7 @@ Source0: https://cran.r-project.org/src/contrib/%{packname}_%{version}. BuildRequires: R-devel BuildRequires: tex(latex) BuildRequires: pkgconfig(libcurl) +%if %{with check} BuildRequires: R-spelling BuildRequires: R-testthat >= 1.0.0 BuildRequires: R-jsonlite @@ -38,6 +41,7 @@ BuildRequires: R-magrittr %if %{with_test} BuildRequires: R-webutils %endif +%endif %description The curl() and curl_download() functions provide highly configurable drop-in @@ -66,6 +70,7 @@ rm -f %{buildroot}%{rlibdir}/R.css %check +%if %{with check} ARGS= %if ! %{with_test} export _R_CHECK_FORCE_SUGGESTS_=0 @@ -76,7 +81,7 @@ export _R_CHECK_FORCE_SUGGESTS_=0 ARGS="$ARGS --ignore-vignettes" %endif %{_bindir}/R CMD check %{packname} $ARGS - +%endif %files %dir %{rlibdir}/%{packname} @@ -96,6 +101,10 @@ ARGS="$ARGS --ignore-vignettes" %changelog +* Fri Jun 5 2020 Tom Callaway - 4.3-3 +- conditionalize check to break loop with httpuv +- rebuild for R 4 + * Tue Jan 28 2020 Fedora Release Engineering - 4.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild