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