conditionalize check and BR, disable to ease rebuild, rebuild for R 4.1.0
This commit is contained in:
parent
77ab421b05
commit
8d80a0f558
12
R-brio.spec
12
R-brio.spec
|
@ -1,10 +1,12 @@
|
||||||
|
%bcond_with check
|
||||||
|
|
||||||
%global packname brio
|
%global packname brio
|
||||||
%global packver 1.1.2
|
%global packver 1.1.2
|
||||||
%global rlibdir %{_libdir}/R/library
|
%global rlibdir %{_libdir}/R/library
|
||||||
|
|
||||||
Name: R-%{packname}
|
Name: R-%{packname}
|
||||||
Version: 1.1.2
|
Version: 1.1.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Basic R Input Output
|
Summary: Basic R Input Output
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
|
@ -20,7 +22,9 @@ Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.
|
||||||
|
|
||||||
BuildRequires: R-devel
|
BuildRequires: R-devel
|
||||||
BuildRequires: tex(latex)
|
BuildRequires: tex(latex)
|
||||||
|
%if %{with check}
|
||||||
BuildRequires: R-testthat >= 2.1.0
|
BuildRequires: R-testthat >= 2.1.0
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Functions to handle basic input output, these functions always read and write
|
Functions to handle basic input output, these functions always read and write
|
||||||
|
@ -46,7 +50,9 @@ rm -f %{buildroot}%{rlibdir}/R.css
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if %{with check}
|
||||||
%{_bindir}/R CMD check %{packname}
|
%{_bindir}/R CMD check %{packname}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
@ -65,6 +71,10 @@ rm -f %{buildroot}%{rlibdir}/R.css
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 7 2021 Tom Callaway <spot@fedoraproject.org> - 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 <quantum.analyst@gmail.com> - 1.1.2-1
|
* Sat Apr 24 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.2-1
|
||||||
- Update to latest version (#1952923)
|
- Update to latest version (#1952923)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue