# Generated by go2rpm %bcond_without check # https://github.com/go-openapi/errors %global goipath github.com/go-openapi/errors Version: 0.19.0 %gometa %global common_description %{expand: Package Errors provides an Error interface and several concrete types implementing this interface to manage API errors and JSON-schema validation errors. A middleware handler ServeError() is provided to serve the errors types it defines. It is used throughout the various Go-openapi toolkit libraries.} %global golicenses LICENSE %global godocs CODE_OF_CONDUCT.md README.md Name: %{goname} Release: 1%{?dist} Summary: Openapi toolkit common errors # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Sat May 11 04:56:47 CEST 2019 Robert-André Mauchin - 0.19.0-1 - Initial package