R-argon2 is only available on F27+.
This commit is contained in:
parent
0ffb655891
commit
360ec9af00
|
@ -22,7 +22,9 @@ Requires: R-utils R-rstudioapi
|
|||
Suggests: R-argon2
|
||||
BuildRequires: R-devel tex(latex)
|
||||
BuildRequires: R-utils R-rstudioapi
|
||||
%if %{fedora} >= 27
|
||||
BuildRequires: R-argon2
|
||||
%endif
|
||||
|
||||
%description
|
||||
A micro-package for reading "passwords", i.e. reading user input with
|
||||
|
@ -46,7 +48,11 @@ rm -f %{buildroot}%{rlibdir}/R.css
|
|||
|
||||
|
||||
%check
|
||||
%if %{fedora} >= 27
|
||||
%{_bindir}/R CMD check %{packname}
|
||||
%else
|
||||
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname}
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
|
|
Loading…
Reference in New Issue