diff --git a/R-iterators.spec b/R-iterators.spec index 27ac54f..c92dcaa 100644 --- a/R-iterators.spec +++ b/R-iterators.spec @@ -1,9 +1,11 @@ +%bcond_with check + %global packname iterators %global rlibdir %{_datadir}/R/library Name: R-%{packname} Version: 1.0.12 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Provides Iterator Construct License: ASL 2.0 @@ -21,8 +23,10 @@ BuildArch: noarch BuildRequires: R-devel BuildRequires: tex(latex) BuildRequires: R-utils +%if %{with check} BuildRequires: R-RUnit BuildRequires: R-foreach +%endif %description Support for iterators, which allow a programmer to traverse through all the @@ -47,7 +51,9 @@ rm -f %{buildroot}%{rlibdir}/R.css %check +%if %{with check} %{_bindir}/R CMD check %{packname} +%endif %files @@ -66,6 +72,10 @@ rm -f %{buildroot}%{rlibdir}/R.css %changelog +* Thu Jun 4 2020 Tom Callaway - 1.0.12-3 +- conditionalize check, break loop with foreach +- rebuild for R 4 + * Tue Jan 28 2020 Fedora Release Engineering - 1.0.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild