Exclude Suggests for unavailable packages.
This commit is contained in:
parent
adedfe4122
commit
aa6a3da2f5
@ -3,9 +3,11 @@
|
||||
%global packname testthat
|
||||
%global packver 2.3.0
|
||||
|
||||
%global __suggests_exclude ^R\\((devtools)\\)
|
||||
|
||||
Name: R-%{packname}
|
||||
Version: %{packver}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
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
|
||||
@ -40,6 +42,9 @@ A unit testing system designed to be fun, flexible, and easy to set up.
|
||||
%prep
|
||||
%setup -q -c -n %{packname}
|
||||
|
||||
# Don't need coverage; it's not packaged either.
|
||||
sed -i 's/covr, //g' %{packname}/DESCRIPTION
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
@ -74,6 +79,9 @@ export _R_CHECK_FORCE_SUGGESTS_=0 LANG=C.UTF-8
|
||||
%{_libdir}/R/library/%{packname}/include/
|
||||
|
||||
%changelog
|
||||
* Thu Nov 21 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.3.0-2
|
||||
- Exclude Suggests for unavailable packages
|
||||
|
||||
* Wed Nov 6 2019 Tom Callaway <spot@fedoraproject.org> - 2.3.0-1
|
||||
- update to 2.3.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user