From 8d80a0f558ba8ad50fbdc61f4e319e080682bacc Mon Sep 17 00:00:00 2001 From: Tom spot Callaway Date: Mon, 7 Jun 2021 15:15:22 -0400 Subject: [PATCH] conditionalize check and BR, disable to ease rebuild, rebuild for R 4.1.0 --- R-brio.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/R-brio.spec b/R-brio.spec index a26b5df..9e27931 100644 --- a/R-brio.spec +++ b/R-brio.spec @@ -1,10 +1,12 @@ +%bcond_with check + %global packname brio %global packver 1.1.2 %global rlibdir %{_libdir}/R/library Name: R-%{packname} Version: 1.1.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Basic R Input Output License: MIT @@ -20,7 +22,9 @@ Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}. BuildRequires: R-devel BuildRequires: tex(latex) +%if %{with check} BuildRequires: R-testthat >= 2.1.0 +%endif %description Functions to handle basic input output, these functions always read and write @@ -46,7 +50,9 @@ rm -f %{buildroot}%{rlibdir}/R.css %check +%if %{with check} %{_bindir}/R CMD check %{packname} +%endif %files @@ -65,6 +71,10 @@ rm -f %{buildroot}%{rlibdir}/R.css %changelog +* Mon Jun 7 2021 Tom Callaway - 1.1.2-2 +- conditionalize check and BR, disable to ease rebuild +- rebuild for R 4.1.0 + * Sat Apr 24 2021 Elliott Sales de Andrade - 1.1.2-1 - Update to latest version (#1952923)