diff --git a/golang-github-googleapis-gnostic.spec b/golang-github-googleapis-gnostic.spec index dd3e3d7..32e6d14 100644 --- a/golang-github-googleapis-gnostic.spec +++ b/golang-github-googleapis-gnostic.spec @@ -60,6 +60,7 @@ BuildRequires: golang(gopkg.in/yaml.v3) %if %{with check} # Tests BuildRequires: golang(gopkg.in/check.v1) +BuildRequires: /usr/bin/protoc %endif %description @@ -91,6 +92,7 @@ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %check # Needs network %gocheck -d . \ + -d apps/protoc-gen-openapi \ -d generate-gnostic \ -d compiler \ -d extensions \