## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %bcond_with network %global packname unitizer %global packver 1.4.19 %global rlibdir %{_datadir}/R/library Name: R-%{packname} Version: %{packver} Release: %autorelease Summary: Interactive R Unit Tests License: GPLv2+ URL: https://CRAN.R-project.org/package=%{packname} Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz # Here's the R view of the dependencies world: # Depends: R-methods # Imports: R-stats, R-utils, R-crayon >= 1.3.2, R-diffobj >= 0.1.5.9000 # Suggests: R-knitr, R-rmarkdown # LinkingTo: # Enhances: BuildArch: noarch BuildRequires: R-devel BuildRequires: tex(latex) BuildRequires: R-methods BuildRequires: R-stats BuildRequires: R-utils BuildRequires: R-crayon >= 1.3.2 BuildRequires: R-diffobj >= 0.1.5.9000 BuildRequires: R-knitr BuildRequires: R-rmarkdown %description Simplifies regression tests by comparing objects produced by test code with earlier versions of those same objects. If objects are unchanged the tests pass, otherwise execution stops with error details. If in interactive mode, tests can be reviewed through the provided interactive environment. %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 # Vignettes use the network. %if %{with network} %{_bindir}/R CMD check %{packname} %else %{_bindir}/R CMD check %{packname} --no-vignettes %endif %files %dir %{rlibdir}/%{packname} %doc %{rlibdir}/%{packname}/doc %doc %{rlibdir}/%{packname}/html %{rlibdir}/%{packname}/DESCRIPTION %doc %{rlibdir}/%{packname}/NEWS.md %{rlibdir}/%{packname}/INDEX %{rlibdir}/%{packname}/NAMESPACE %{rlibdir}/%{packname}/Meta %{rlibdir}/%{packname}/R %{rlibdir}/%{packname}/help %{rlibdir}/%{packname}/demo %{rlibdir}/%{packname}/expkg %changelog * Wed Jul 19 2023 Fedora Release Engineering - 1.4.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Apr 21 2023 Iñaki Úcar - 1.4.19-1 - Update to latest version * Fri Apr 21 2023 Iñaki Úcar - 1.4.18-3 - R-maint-sig mass rebuild * Wed Jan 18 2023 Fedora Release Engineering - 1.4.18-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Sep 3 2022 Tom Callaway - 1.4.18 - update to 1.4.18 - rebuild for R 4.2.1 * Wed Jul 21 2021 Fedora Release Engineering - 1.4.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jun 16 2021 Tom Callaway - 1.4.14-1 - update to 1.4.14 - Rebuilt for R 4.1.0 * Mon Jan 25 2021 Fedora Release Engineering - 1.4.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Nov 19 2020 Elliott Sales de Andrade - 1.4.12-1 - Update to latest version (#1899763) * Fri Nov 13 2020 Elliott Sales de Andrade - 1.4.11-1 - Update to latest version (#1897639) * Mon Jul 27 2020 Fedora Release Engineering - 1.4.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jun 7 2020 Tom Callaway - 1.4.10-2 - rebuild for R 4 * Thu May 21 2020 Elliott Sales de Andrade - 1.4.10-1 - Update to latest version * Mon Mar 02 2020 Elliott Sales de Andrade - 1.4.9-1 - Update to latest version * Tue Jan 28 2020 Fedora Release Engineering - 1.4.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Aug 11 2019 Elliott Sales de Andrade - 1.4.8-3 - Remove explicit dependencies provided by automatic dependency generator * Wed Jul 24 2019 Fedora Release Engineering - 1.4.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Apr 08 2019 Elliott Sales de Andrade - 1.4.8-1 - Update to latest version * Sun Mar 17 2019 Elliott Sales de Andrade - 1.4.7-1 - Update to latest version * Wed Feb 06 2019 Elliott Sales de Andrade - 1.4.6-1 - Update to latest version * Thu Jan 31 2019 Fedora Release Engineering - 1.4.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Jul 22 2018 Elliott Sales de Andrade - 1.4.5-1 - initial package for Fedora