diff --git a/golang-x-crypto.spec b/golang-x-crypto.spec index e629313..fa14bb6 100644 --- a/golang-x-crypto.spec +++ b/golang-x-crypto.spec @@ -32,6 +32,11 @@ BuildRequires: golang(golang.org/x/net/idna) BuildRequires: golang(golang.org/x/sys/cpu) BuildRequires: golang(golang.org/x/sys/unix) +%if %{with check} +# Tests +BuildRequires: golang(golang.org/x/term) +%endif + %description %{common_description}