# Generated by go2rpm
%bcond_without check
# https://github.com/go-openapi/validate
%global goipath github.com/go-openapi/validate
Version: 0.19.0
%gometa
%global common_description %{expand:
Package Validate provides methods to validate a swagger specification, as well
as tools to validate data against their schema.
This package follows Swagger 2.0. specification (aka OpenAPI 2.0). }
%global golicenses LICENSE
%global godocs CODE_OF_CONDUCT.md README.md example
Name: %{goname}
Release: 2%{?dist}
Summary: Openapi toolkit validation helpers
# Upstream license specification: Apache-2.0
License: ASL 2.0
URL: %{gourl}
Source0: %{gosource}
BuildRequires: golang(github.com/go-openapi/analysis)
BuildRequires: golang(github.com/go-openapi/errors)
BuildRequires: golang(github.com/go-openapi/jsonpointer)
BuildRequires: golang(github.com/go-openapi/loads)
BuildRequires: golang(github.com/go-openapi/runtime)
BuildRequires: golang(github.com/go-openapi/spec)
BuildRequires: golang(github.com/go-openapi/strfmt)
BuildRequires: golang(github.com/go-openapi/swag)
%if %{with check}
# Tests
BuildRequires: golang(github.com/go-openapi/loads/fmts)
BuildRequires: golang(github.com/stretchr/testify/assert)
BuildRequires: golang(github.com/stretchr/testify/require)
BuildRequires: golang(gopkg.in/yaml.v2)
%endif
%description
%{common_description}
%gopkg
%prep
%goprep
%install
%gopkginstall
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat May 11 05:15:04 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.19.0-1
- Initial package