update to 0.2.0, bootstrap on, rebuild for R 4.2.1

This commit is contained in:
Tom spot Callaway 2022-09-02 23:13:42 -04:00
parent fa5facdc26
commit a181a8e167
3 changed files with 26 additions and 8 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/mockr_0.1.tar.gz /mockr_0.1.tar.gz
/mockr_0.2.0.tar.gz

View File

@ -1,9 +1,10 @@
%global packname mockr %global packname mockr
%global rlibdir %{_datadir}/R/library %global rlibdir %{_datadir}/R/library
%bcond_without bootstrap
Name: R-%{packname} Name: R-%{packname}
Version: 0.1 Version: 0.2.0
Release: 13%{?dist} Release: 1%{?dist}
Summary: Mocking in R Summary: Mocking in R
License: GPLv3 License: GPLv3
@ -12,16 +13,24 @@ Source0: https://cran.r-project.org/src/contrib/%{packname}_%{version}.
# Here's the R view of the dependencies world: # Here's the R view of the dependencies world:
# Depends: # Depends:
# Imports: R-lazyeval # Imports: R-rlang, R-withr
# Suggests: R-testthat, R-covr # Suggests: R-covr, R-fs, R-knitr, R-pkgload, R-rmarkdown, R-testthat, R-usethis
# LinkingTo: # LinkingTo:
# Enhances: # Enhances:
BuildArch: noarch BuildArch: noarch
BuildRequires: R-devel BuildRequires: R-devel
BuildRequires: tex(latex) BuildRequires: tex(latex)
BuildRequires: R-lazyeval BuildRequires: R-rlang
BuildRequires: R-withr
BuildRequires: R-fs
BuildRequires: R-knitr
BuildRequires: R-pkgload
BuildRequires: R-rmarkdown
BuildRequires: R-testthat BuildRequires: R-testthat
%if %{without bootstrap}
BuildRequires: R-usethis
%endif
%description %description
Provides a means to mock a package function, i.e., temporarily substitute Provides a means to mock a package function, i.e., temporarily substitute
@ -47,8 +56,11 @@ rm -f %{buildroot}%{rlibdir}/R.css
%check %check
%if %{with bootstrap}
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --no-vignettes --no-tests
%else
%{_bindir}/R CMD check %{packname} %{_bindir}/R CMD check %{packname}
%endif
%files %files
%dir %{rlibdir}/%{packname} %dir %{rlibdir}/%{packname}
@ -60,9 +72,14 @@ rm -f %{buildroot}%{rlibdir}/R.css
%{rlibdir}/%{packname}/Meta %{rlibdir}/%{packname}/Meta
%{rlibdir}/%{packname}/R %{rlibdir}/%{packname}/R
%{rlibdir}/%{packname}/help %{rlibdir}/%{packname}/help
%{rlibdir}/%{packname}/doc
%changelog %changelog
* Fri Sep 2 2022 Tom Callaway <spot@fedoraproject.org> - 0.2.0-1
- update to 0.2.0
- rebuild for R 4.2.1
- bootstrap on
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-13 * Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (mockr_0.1.tar.gz) = 6377957673653430a342eaf4e32953655c6a5edabff84acf456434e4d283dbd9339884c3429362dce930272dc0058a50ca3f2799cdced987f0f0370bb5d677b3 SHA512 (mockr_0.2.0.tar.gz) = 06554d4f0e4c25a2a809907a50af3799a4f0321429feb5efc86ed34e840a9d4634585df811370ea8624a61a79da73d29ab93de0751a38868ce7e0aaebe006ee6