2019-11-06 15:34:26 +00:00
|
|
|
%bcond_with check
|
2019-02-21 10:25:45 +00:00
|
|
|
|
2015-11-30 19:16:07 +00:00
|
|
|
%global packname testthat
|
2019-11-06 15:34:26 +00:00
|
|
|
%global packver 2.3.0
|
2015-11-30 19:16:07 +00:00
|
|
|
|
|
|
|
Name: R-%{packname}
|
|
|
|
Version: %{packver}
|
2019-08-16 16:55:49 +00:00
|
|
|
Release: 1%{?dist}
|
2015-11-30 19:16:07 +00:00
|
|
|
Source0: ftp://cran.r-project.org/pub/R/contrib/main/%{packname}_%{packver}.tar.gz
|
|
|
|
License: MIT
|
|
|
|
URL: http://cran.r-project.org/web/packages/testthat/index.html
|
|
|
|
Summary: Unit Testing for R
|
2018-05-17 15:04:03 +00:00
|
|
|
BuildRequires: R-devel >= 3.4.0, tetex-latex
|
|
|
|
BuildRequires: R-cli
|
2019-04-23 14:23:30 +00:00
|
|
|
BuildRequires: R-crayon >= 1.3.4
|
2018-05-17 15:04:03 +00:00
|
|
|
BuildRequires: R-digest
|
2019-11-06 15:34:26 +00:00
|
|
|
BuildRequires: R-ellipsis
|
2019-08-16 16:55:49 +00:00
|
|
|
BuildRequires: R-evaluate
|
2018-05-17 15:04:03 +00:00
|
|
|
BuildRequires: R-magrittr
|
|
|
|
BuildRequires: R-methods
|
2019-11-06 15:34:26 +00:00
|
|
|
BuildRequires: R-pkgload
|
2018-05-17 15:04:03 +00:00
|
|
|
BuildRequires: R-praise
|
|
|
|
BuildRequires: R-R6 >= 2.2.0
|
2019-11-06 15:34:26 +00:00
|
|
|
BuildRequires: R-rlang >= 0.4.1
|
2018-05-17 15:04:03 +00:00
|
|
|
BuildRequires: R-withr >= 2.0.0
|
2019-02-21 10:25:45 +00:00
|
|
|
%if %{with check}
|
2019-11-06 15:34:26 +00:00
|
|
|
BuildRequires: R-covr
|
|
|
|
BuildRequires: R-curl >= 0.9.5
|
|
|
|
BuildRequires: R-devtools
|
|
|
|
BuildRequires: R-knitr
|
|
|
|
BuildRequires: R-rmarkdown
|
|
|
|
BuildRequires: R-usethis
|
|
|
|
BuildRequires: R-vctrs >= 0.1.0
|
2019-02-21 10:25:45 +00:00
|
|
|
BuildRequires: R-xml2
|
|
|
|
%endif
|
2015-11-30 19:16:07 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
A unit testing system designed to be fun, flexible, and easy to set up.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c -n %{packname}
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}/R/library
|
|
|
|
%{_bindir}/R CMD INSTALL -l $RPM_BUILD_ROOT%{_libdir}/R/library %{packname}
|
|
|
|
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_libdir}/R/library/R.css
|
|
|
|
|
|
|
|
%check
|
2019-02-21 10:25:45 +00:00
|
|
|
%if %{with check}
|
|
|
|
export _R_CHECK_FORCE_SUGGESTS_=0 LANG=C.UTF-8
|
2018-05-16 19:36:29 +00:00
|
|
|
%{_bindir}/R CMD check --ignore-vignettes %{packname}
|
|
|
|
%endif
|
2015-11-30 19:16:07 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%dir %{_libdir}/R/library/%{packname}
|
2018-05-16 19:36:29 +00:00
|
|
|
%doc %{_libdir}/R/library/%{packname}/doc
|
2015-11-30 19:16:07 +00:00
|
|
|
%doc %{_libdir}/R/library/%{packname}/html
|
|
|
|
%doc %{_libdir}/R/library/%{packname}/CITATION
|
|
|
|
# Not the actual license text. Not too useful.
|
|
|
|
%doc %{_libdir}/R/library/%{packname}/LICENSE
|
2017-06-02 17:45:57 +00:00
|
|
|
%doc %{_libdir}/R/library/%{packname}/NEWS.md
|
2015-11-30 19:16:07 +00:00
|
|
|
%{_libdir}/R/library/%{packname}/DESCRIPTION
|
|
|
|
%{_libdir}/R/library/%{packname}/INDEX
|
|
|
|
%{_libdir}/R/library/%{packname}/NAMESPACE
|
|
|
|
%{_libdir}/R/library/%{packname}/Meta
|
|
|
|
%{_libdir}/R/library/%{packname}/R
|
2019-04-23 14:23:30 +00:00
|
|
|
%{_libdir}/R/library/%{packname}/examples/
|
2015-11-30 19:16:07 +00:00
|
|
|
%{_libdir}/R/library/%{packname}/help
|
|
|
|
%{_libdir}/R/library/%{packname}/libs/
|
2017-06-02 17:45:57 +00:00
|
|
|
%{_libdir}/R/library/%{packname}/resources/
|
|
|
|
%{_libdir}/R/library/%{packname}/include/
|
2015-11-30 19:16:07 +00:00
|
|
|
|
|
|
|
%changelog
|
2019-11-06 15:34:26 +00:00
|
|
|
* Wed Nov 6 2019 Tom Callaway <spot@fedoraproject.org> - 2.3.0-1
|
|
|
|
- update to 2.3.0
|
|
|
|
|
2019-08-16 16:55:49 +00:00
|
|
|
* Fri Aug 16 2019 Tom Callaway <spot@fedoraproject.org> - 2.2.1-1
|
|
|
|
- update to 2.2.1
|
|
|
|
|
2019-08-12 05:01:13 +00:00
|
|
|
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.1.1-3
|
|
|
|
- Remove explicit dependencies provided by automatic dependency generator
|
|
|
|
|
2019-07-24 17:04:40 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-04-24 13:07:54 +00:00
|
|
|
* Wed Apr 24 2019 Tom Callaway <spot@fedoraproject.org> - 2.1.1-1
|
|
|
|
- update to 2.1.1
|
|
|
|
|
2019-04-23 14:23:30 +00:00
|
|
|
* Tue Apr 23 2019 Tom Callaway <spot@fedoraproject.org> - 2.1.0-1
|
|
|
|
- update to 2.1.0
|
|
|
|
|
2019-02-21 10:25:45 +00:00
|
|
|
* Thu Feb 21 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.1-1
|
|
|
|
- Update to latest version
|
|
|
|
- Enable tests
|
|
|
|
|
2019-01-31 12:34:04 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-12 19:43:02 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-05-17 15:04:03 +00:00
|
|
|
* Thu May 17 2018 Tom Callaway <spot@fedoraproject.org> - 2.0.0-2
|
|
|
|
- fix Requires (cleanup BR too)
|
|
|
|
|
2018-05-16 19:36:29 +00:00
|
|
|
* Wed May 16 2018 Tom Callaway <spot@fedoraproject.org> - 2.0.0-1
|
|
|
|
- gotta go to 2.0.0
|
|
|
|
|
2018-05-16 14:39:06 +00:00
|
|
|
* Wed May 16 2018 Tom Callaway <spot@fedoraproject.org> - 1.0.2-6
|
|
|
|
- rebuild for R 3.5.0
|
|
|
|
|
2018-03-23 18:14:16 +00:00
|
|
|
* Fri Mar 23 2018 Tom Callaway <spot@fedoraproject.org> - 1.0.2-5
|
|
|
|
- rebuild for now, cannot upgrade due to unpackaged deps
|
|
|
|
|
2018-02-07 01:24:59 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-02 17:13:17 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 02:18:09 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-02 17:45:57 +00:00
|
|
|
* Thu May 18 2017 Tom Callaway <spot@fedoraproject.org> - 1.0.2-1
|
|
|
|
- update to 1.0.2, rebuild for R 3.4.0
|
|
|
|
|
2017-02-10 05:30:51 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-03 15:46:14 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-11-30 19:16:07 +00:00
|
|
|
* Tue Nov 10 2015 Tom Callaway <spot@fedoraproject.org> - 0.11.0-2
|
|
|
|
- fix define to be global
|
|
|
|
|
|
|
|
* Wed Nov 4 2015 Tom Callaway <spot@fedoraproject.org> - 0.11.0-1
|
|
|
|
- Initial package
|