2024-08-13 00:00:21 +00:00
|
|
|
%bcond_with bootstrap
|
2020-10-15 08:18:54 +00:00
|
|
|
|
2020-02-25 09:58:20 +00:00
|
|
|
%global packname foreach
|
2022-09-02 16:46:58 +00:00
|
|
|
%global packver 1.5.2
|
2018-06-25 19:52:47 +00:00
|
|
|
%global rlibdir %{_datadir}/R/library
|
|
|
|
|
|
|
|
Name: R-%{packname}
|
2022-09-02 16:46:58 +00:00
|
|
|
Version: %{packver}
|
2024-08-13 00:00:21 +00:00
|
|
|
Release: 10.1.riscv64%{?dist}
|
2019-08-17 06:24:58 +00:00
|
|
|
Summary: Provides Foreach Looping Construct
|
2018-06-25 19:52:47 +00:00
|
|
|
|
2024-07-24 15:56:03 +00:00
|
|
|
# Automatically converted from old format: ASL 2.0 - review is highly recommended.
|
|
|
|
License: Apache-2.0
|
2019-01-23 00:55:18 +00:00
|
|
|
URL: https://CRAN.R-project.org/package=%{packname}
|
2020-02-25 09:58:20 +00:00
|
|
|
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
|
2018-06-25 19:52:47 +00:00
|
|
|
|
|
|
|
# Here's the R view of the dependencies world:
|
|
|
|
# Depends:
|
|
|
|
# Imports: R-codetools, R-utils, R-iterators
|
2020-02-25 09:58:20 +00:00
|
|
|
# Suggests: R-randomForest, R-doMC, R-doParallel, R-testthat, R-knitr, R-rmarkdown
|
2018-06-25 19:52:47 +00:00
|
|
|
# LinkingTo:
|
|
|
|
# Enhances:
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: R-devel
|
|
|
|
BuildRequires: tex(latex)
|
|
|
|
BuildRequires: R-codetools
|
|
|
|
BuildRequires: R-utils
|
|
|
|
BuildRequires: R-iterators
|
2020-10-15 08:18:54 +00:00
|
|
|
%if %{without bootstrap}
|
2018-06-25 19:52:47 +00:00
|
|
|
BuildRequires: R-randomForest
|
2020-02-25 09:58:20 +00:00
|
|
|
BuildRequires: R-doMC
|
|
|
|
BuildRequires: R-doParallel
|
|
|
|
BuildRequires: R-testthat
|
|
|
|
BuildRequires: R-knitr
|
|
|
|
BuildRequires: R-rmarkdown
|
2018-06-25 19:52:47 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
2019-08-17 06:24:58 +00:00
|
|
|
Support for the foreach looping construct. Foreach is an idiom that allows for
|
|
|
|
iterating over elements in a collection, without the use of an explicit loop
|
|
|
|
counter. This package in particular is intended to be used for its return
|
|
|
|
value, rather than for its side effects. In that sense, it is similar to the
|
|
|
|
standard lapply function, but doesn't require the evaluation of a function.
|
|
|
|
Using foreach without side effects also facilitates executing the loop in
|
|
|
|
parallel.
|
2018-06-25 19:52:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c -n %{packname}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{rlibdir}
|
|
|
|
%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname}
|
|
|
|
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
|
|
|
|
rm -f %{buildroot}%{rlibdir}/R.css
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
2020-10-15 08:18:54 +00:00
|
|
|
%if %{without bootstrap}
|
2023-04-28 07:48:09 +00:00
|
|
|
%{_bindir}/R CMD check --ignore-vignettes %{packname}
|
2018-06-25 19:52:47 +00:00
|
|
|
%else
|
2020-02-25 09:58:20 +00:00
|
|
|
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes --no-tests
|
2018-06-25 19:52:47 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%dir %{rlibdir}/%{packname}
|
|
|
|
%doc %{rlibdir}/%{packname}/doc
|
|
|
|
%doc %{rlibdir}/%{packname}/html
|
|
|
|
%{rlibdir}/%{packname}/DESCRIPTION
|
2020-02-25 09:58:20 +00:00
|
|
|
%doc %{rlibdir}/%{packname}/NEWS.md
|
2018-06-25 19:52:47 +00:00
|
|
|
%{rlibdir}/%{packname}/INDEX
|
|
|
|
%{rlibdir}/%{packname}/NAMESPACE
|
|
|
|
%{rlibdir}/%{packname}/Meta
|
|
|
|
%{rlibdir}/%{packname}/R
|
|
|
|
%{rlibdir}/%{packname}/help
|
|
|
|
%{rlibdir}/%{packname}/demo
|
|
|
|
%{rlibdir}/%{packname}/examples
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-08-13 00:00:21 +00:00
|
|
|
* Mon Aug 12 2024 Jason Montleon <jmontleo@redhat.com> - 1.5.2-10.1.riscv64
|
|
|
|
- Turn off bootstrap (riscv64)
|
|
|
|
|
2024-07-24 15:56:03 +00:00
|
|
|
* Wed Jul 24 2024 Miroslav Suchý <msuchy@redhat.com> - 1.5.2-10
|
|
|
|
- convert license to SPDX
|
|
|
|
|
2024-07-17 15:33:14 +00:00
|
|
|
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
2024-04-25 11:34:46 +00:00
|
|
|
* Thu Apr 25 2024 Iñaki Úcar <iucar@fedoraproject.org> - 1.5.2-8
|
|
|
|
- R-maint-sig mass rebuild
|
|
|
|
|
2024-01-22 21:35:47 +00:00
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-19 10:49:16 +00:00
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-07-19 11:50:45 +00:00
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-04-28 07:48:09 +00:00
|
|
|
* Fri Apr 28 2023 Iñaki Úcar <iucar@fedoraproject.org> - 1.5.2-4
|
|
|
|
- Ignore vignettes
|
|
|
|
|
2023-04-21 11:28:05 +00:00
|
|
|
* Fri Apr 21 2023 Iñaki Úcar <iucar@fedoraproject.org> - 1.5.2-3
|
|
|
|
- R-maint-sig mass rebuild
|
|
|
|
|
2023-01-18 20:26:27 +00:00
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-09-02 16:46:58 +00:00
|
|
|
* Fri Sep 2 2022 Tom Callaway <spot@fedoraproject.org> - 1.5.2-1
|
|
|
|
- update to 1.5.2
|
|
|
|
- rebuild for R 4.2.1
|
|
|
|
|
2022-07-20 19:28:20 +00:00
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-19 20:00:01 +00:00
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-21 16:23:40 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-17 20:41:04 +00:00
|
|
|
* Thu Jun 17 2021 Tom Callaway <spot@fedoraproject.org> - 1.5.1-4
|
|
|
|
- bootstrap off
|
|
|
|
|
2021-06-15 14:59:49 +00:00
|
|
|
* Tue Jun 15 2021 Tom Callaway <spot@fedoraproject.org> - 1.5.1-3
|
|
|
|
- bootstrap
|
|
|
|
- Rebuilt for R 4.1.0
|
|
|
|
|
2021-01-25 22:58:32 +00:00
|
|
|
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-10-15 08:18:54 +00:00
|
|
|
* Thu Oct 15 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.1-1
|
|
|
|
- Update to latest version (#1888528)
|
|
|
|
|
2020-07-27 10:55:17 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-06 14:53:18 +00:00
|
|
|
* Sat Jun 6 2020 Tom Callaway <spot@fedoraproject.org> - 1.5.0-2
|
|
|
|
- rebuild for R 4
|
|
|
|
|
2020-05-22 06:21:11 +00:00
|
|
|
* Thu May 21 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.0-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2020-02-25 09:58:20 +00:00
|
|
|
* Mon Feb 24 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.8-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2020-01-28 10:07:11 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-08-17 06:24:58 +00:00
|
|
|
* Sat Aug 17 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.7-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2019-08-12 05:00:46 +00:00
|
|
|
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.4-5
|
|
|
|
- Remove explicit dependencies provided by automatic dependency generator
|
|
|
|
|
2019-07-24 16:29:00 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-01-31 12:10:36 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-12 19:25:32 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-25 19:52:47 +00:00
|
|
|
* Fri Jun 22 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.4-1
|
|
|
|
- initial package for Fedora
|