conditionalize and disable check (and BR) by default to ease rebuild, rebuild for R 4.1.0
This commit is contained in:
parent
f6dbea9477
commit
bd8659ec85
11
R-bit.spec
11
R-bit.spec
@ -1,3 +1,4 @@
|
|||||||
|
%bcond_with check
|
||||||
%bcond_without bootstrap
|
%bcond_without bootstrap
|
||||||
|
|
||||||
%global packname bit
|
%global packname bit
|
||||||
@ -6,7 +7,7 @@
|
|||||||
|
|
||||||
Name: R-%{packname}
|
Name: R-%{packname}
|
||||||
Version: 4.0.4
|
Version: 4.0.4
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Classes and Methods for Fast Memory-Efficient Boolean Selections
|
Summary: Classes and Methods for Fast Memory-Efficient Boolean Selections
|
||||||
|
|
||||||
License: GPLv2 or GPLv3
|
License: GPLv2 or GPLv3
|
||||||
@ -22,6 +23,7 @@ Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.
|
|||||||
|
|
||||||
BuildRequires: R-devel
|
BuildRequires: R-devel
|
||||||
BuildRequires: tex(latex)
|
BuildRequires: tex(latex)
|
||||||
|
%if %{with check}
|
||||||
BuildRequires: R-testthat >= 0.11.0
|
BuildRequires: R-testthat >= 0.11.0
|
||||||
BuildRequires: R-roxygen2
|
BuildRequires: R-roxygen2
|
||||||
BuildRequires: R-knitr
|
BuildRequires: R-knitr
|
||||||
@ -31,6 +33,7 @@ BuildRequires: R-microbenchmark
|
|||||||
BuildRequires: R-bit64 >= 4.0.0
|
BuildRequires: R-bit64 >= 4.0.0
|
||||||
BuildRequires: R-ff >= 4.0.0
|
BuildRequires: R-ff >= 4.0.0
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
BuildRequires: tex(framed.sty)
|
BuildRequires: tex(framed.sty)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -55,10 +58,12 @@ rm -f %{buildroot}%{rlibdir}/R.css
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if %{with check}
|
||||||
%if %{with bootstrap}
|
%if %{with bootstrap}
|
||||||
export _R_CHECK_FORCE_SUGGESTS_=0
|
export _R_CHECK_FORCE_SUGGESTS_=0
|
||||||
%endif
|
%endif
|
||||||
%{_bindir}/R CMD check %{packname}
|
%{_bindir}/R CMD check %{packname}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -77,6 +82,10 @@ export _R_CHECK_FORCE_SUGGESTS_=0
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 7 2021 Tom Callaway <spot@fedoraproject.org> - 4.0.4-3
|
||||||
|
- conditionalize and disable check (and BR) by default to ease rebuild
|
||||||
|
- rebuild for R 4.1.0
|
||||||
|
|
||||||
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.4-2
|
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.4-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user