conditionalize check, break loop with foreach, rebuild for R 4

This commit is contained in:
Tom Callaway 2020-06-04 18:16:07 -04:00
parent f45c1413f7
commit f002955949

View File

@ -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 <spot@fedoraproject.org> - 1.0.12-3
- conditionalize check, break loop with foreach
- rebuild for R 4
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild