# Generated by go2rpm %bcond_without check # https://github.com/xeipuuv/gojsonschema %global goipath github.com/xeipuuv/gojsonschema Version: 1.2.0 %gometa %global common_description %{expand: An implementation of JSON Schema for the Go programming language. Supports draft-04, draft-06 and draft-07.} %global golicenses LICENSE-APACHE-2.0.txt %global godocs README.md Name: %{goname} Release: %mkrel 3 Summary: Implementation of JSON Schema, draft v4 v6 & v7 Group: Development/Other BuildArch: noarch # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} # https://github.com/xeipuuv/gojsonschema/issues/337 Patch0: gojsonschema-1.2.0-disable-failing-tests.patch BuildRequires: golang(github.com/xeipuuv/gojsonreference) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/stretchr/testify/require) %endif %description %{common_description} %gopkg %prep %goprep %patch0 -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed Mar 23 2022 umeabot <umeabot> 1.2.0-3.mga9 + Revision: 1821464 - Mageia 9 Mass Rebuild * Sun Nov 07 2021 guillomovitch <guillomovitch> 1.2.0-2.mga9 + Revision: 1754630 - disable faiing tests - rebuild for mageia 9 * Sat Mar 14 2020 guillomovitch <guillomovitch> 1.2.0-1.mga8 + Revision: 1556246 - imported package golang-github-xeipuuv-gojsonschema