2024-08-11 23:07:59 +00:00
|
|
|
%bcond_without bootstrap
|
2020-06-03 19:26:06 +00:00
|
|
|
|
2020-11-15 22:24:57 +00:00
|
|
|
%global packname rprojroot
|
2023-11-05 13:56:08 +00:00
|
|
|
%global packver 2.0.4
|
2017-11-11 00:16:57 +00:00
|
|
|
%global rlibdir %{_datadir}/R/library
|
|
|
|
|
|
|
|
Name: R-%{packname}
|
2023-11-05 13:56:08 +00:00
|
|
|
Version: %{packver}
|
2024-08-11 23:07:59 +00:00
|
|
|
Release: 5.0.riscv64%{?dist}
|
2017-11-11 00:16:57 +00:00
|
|
|
Summary: Finding Files in Project Subdirectories
|
|
|
|
|
2020-11-15 22:24:57 +00:00
|
|
|
License: MIT
|
2019-01-23 00:55:27 +00:00
|
|
|
URL: https://CRAN.R-project.org/package=%{packname}
|
2018-04-26 07:33:24 +00:00
|
|
|
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
|
2017-11-11 00:16:57 +00:00
|
|
|
|
|
|
|
# Here's the R view of the dependencies world:
|
|
|
|
# Depends:
|
2020-11-15 22:24:57 +00:00
|
|
|
# Imports:
|
2023-11-05 13:56:08 +00:00
|
|
|
# Suggests: R-covr, R-knitr, R-lifecycle, R-mockr, R-rlang, R-rmarkdown, R-testthat >= 3.0.0, R-withr
|
2017-11-11 00:16:57 +00:00
|
|
|
# LinkingTo:
|
|
|
|
# Enhances:
|
|
|
|
|
|
|
|
BuildArch: noarch
|
2018-04-26 07:33:24 +00:00
|
|
|
BuildRequires: R-devel
|
|
|
|
BuildRequires: tex(latex)
|
2020-11-15 22:24:57 +00:00
|
|
|
%if %{without bootstrap}
|
2017-11-11 00:16:57 +00:00
|
|
|
BuildRequires: R-knitr
|
2020-11-15 22:24:57 +00:00
|
|
|
BuildRequires: R-lifecycle
|
|
|
|
BuildRequires: R-mockr
|
2023-11-05 13:56:08 +00:00
|
|
|
BuildRequires: R-rlang
|
2017-11-11 00:16:57 +00:00
|
|
|
BuildRequires: R-rmarkdown
|
2020-11-15 22:24:57 +00:00
|
|
|
BuildRequires: R-testthat >= 3.0.0
|
|
|
|
BuildRequires: R-withr
|
2020-06-03 19:26:06 +00:00
|
|
|
%endif
|
2017-11-11 00:16:57 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Robust, reliable and flexible paths to files below a project root. The
|
|
|
|
'root' of a project is defined as a directory that matches a certain
|
|
|
|
criterion, e.g., it contains a certain regular file.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c -n %{packname}
|
|
|
|
|
2020-11-15 22:24:57 +00:00
|
|
|
# Don't need coverage.
|
|
|
|
sed -i 's/covr, //' %{packname}/DESCRIPTION
|
|
|
|
|
2017-11-11 00:16:57 +00:00
|
|
|
|
|
|
|
%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-11-15 22:24:57 +00:00
|
|
|
%if %{without bootstrap}
|
2019-03-06 08:42:51 +00:00
|
|
|
export NOT_CRAN=true
|
2023-04-27 20:43:46 +00:00
|
|
|
%{_bindir}/R CMD check --ignore-vignettes %{packname}
|
2017-11-11 00:16:57 +00:00
|
|
|
%else
|
2023-04-27 20:43:46 +00:00
|
|
|
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check --ignore-vignettes %{packname} --no-tests
|
2020-06-03 19:26:06 +00:00
|
|
|
%endif
|
2017-11-11 00:16:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%dir %{rlibdir}/%{packname}
|
|
|
|
%doc %{rlibdir}/%{packname}/doc
|
|
|
|
%doc %{rlibdir}/%{packname}/html
|
|
|
|
%{rlibdir}/%{packname}/DESCRIPTION
|
|
|
|
%doc %{rlibdir}/%{packname}/NEWS.md
|
2020-11-15 22:24:57 +00:00
|
|
|
%license %{rlibdir}/%{packname}/LICENSE
|
2017-11-11 00:16:57 +00:00
|
|
|
%{rlibdir}/%{packname}/INDEX
|
|
|
|
%{rlibdir}/%{packname}/NAMESPACE
|
|
|
|
%{rlibdir}/%{packname}/Meta
|
|
|
|
%{rlibdir}/%{packname}/R
|
|
|
|
%{rlibdir}/%{packname}/help
|
2020-11-15 22:24:57 +00:00
|
|
|
%{rlibdir}/%{packname}/WORDLIST
|
2017-11-11 00:16:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-07-17 16:03:32 +00:00
|
|
|
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
2024-04-25 14:50:05 +00:00
|
|
|
* Thu Apr 25 2024 Iñaki Úcar <iucar@fedoraproject.org> - 2.0.4-4
|
|
|
|
- R-maint-sig mass rebuild
|
|
|
|
|
2024-01-22 22:09:52 +00:00
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-19 11:21:52 +00:00
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-11-05 13:56:08 +00:00
|
|
|
* Sun Nov 5 2023 Tom Callaway <spot@fedoraproject.org> - 2.0.4-1
|
|
|
|
- update to 2.0.4
|
|
|
|
|
2023-07-19 12:22:21 +00:00
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-04-27 20:43:46 +00:00
|
|
|
* Thu Apr 27 2023 Iñaki Úcar <iucar@fedoraproject.org> - 2.0.3-4
|
|
|
|
- Ignore vignettes
|
|
|
|
|
2023-04-21 12:18:25 +00:00
|
|
|
* Fri Apr 21 2023 Iñaki Úcar <iucar@fedoraproject.org> - 2.0.3-3
|
|
|
|
- R-maint-sig mass rebuild
|
|
|
|
|
2023-01-18 20:53:48 +00:00
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-08-18 17:13:35 +00:00
|
|
|
* Thu Aug 18 2022 Tom Callaway <spot@fedoraproject.org> - 2.0.3-1
|
|
|
|
- update to 2.0.3
|
|
|
|
- rebuild for R 4.2.1
|
|
|
|
- bootstrap on
|
|
|
|
|
2022-07-20 19:55:47 +00:00
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-19 20:26:33 +00:00
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-21 16:48:02 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-17 21:36:04 +00:00
|
|
|
* Thu Jun 17 2021 Tom Callaway <spot@fedoraproject.org> - 2.0.2-4
|
|
|
|
- bootstrap off
|
|
|
|
|
2021-06-09 16:09:43 +00:00
|
|
|
* Wed Jun 9 2021 Tom Callaway <spot@fedoraproject.org> - 2.0.2-3
|
|
|
|
- Rebuilt for R 4.1.0
|
|
|
|
- bootstrap
|
|
|
|
|
2021-01-25 23:21:57 +00:00
|
|
|
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-11-15 22:24:57 +00:00
|
|
|
* Sun Nov 15 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.2-1
|
|
|
|
- Update to latest version (#1897908)
|
|
|
|
- Rename check and with_doc conditions to bootstrap
|
|
|
|
|
2020-07-27 11:17:46 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-03 19:26:06 +00:00
|
|
|
* Wed Jun 3 2020 Tom Callaway <spot@fedoraproject.org> - 1.3.2-8
|
|
|
|
- conditionalize check to break testthat loop
|
|
|
|
- rebuild for R 4
|
|
|
|
|
2020-01-28 10:38:11 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-08-12 05:01:07 +00:00
|
|
|
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.3.2-6
|
|
|
|
- Remove explicit dependencies provided by automatic dependency generator
|
|
|
|
|
2019-07-24 16:58:38 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-03-06 08:42:51 +00:00
|
|
|
* Wed Mar 06 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.3.2-4
|
|
|
|
- Enable docs and fuller test suite
|
|
|
|
|
2019-01-31 12:29:49 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-12 19:39:40 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-04-26 07:33:24 +00:00
|
|
|
* Thu Apr 26 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.3.2-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2018-02-07 01:23:01 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-11-11 00:16:57 +00:00
|
|
|
* Thu Nov 09 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 1.2-1
|
|
|
|
- initial package for Fedora
|