# Generated by go2rpm %bcond_without check # https://github.com/getkin/kin-openapi %global goipath github.com/getkin/kin-openapi Version: 0.2.0 %gometa %global common_description %{expand: A Go project for handling OpenAPI files. We target the latest OpenAPI version (currently 3), but the project contains support for older OpenAPI versions too.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: 1%{?dist} Summary: OpenAPI 3.0 implementation for Go License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/ghodss/yaml) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/require) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Tue May 14 18:53:34 CEST 2019 Robert-André Mauchin - 0.2.0-1 - Initial package