## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 8; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # 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: %autorelease Summary: Implementation of JSON Schema, draft v4 v6 & v7 # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} # For go 1.17+ Patch0: 0001-Reject-comma-in-time-format.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 * Thu Jul 21 2022 Fedora Release Engineering 1.2.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Feb 23 2022 Robert-André Mauchin 1.2.0-7 - Fix FTBFS Close: rhbz#2045628 * Thu Jan 20 2022 Fedora Release Engineering - 1.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Feb 10 02:42:11 CET 2020 Robert-André Mauchin - 1.2.0-1 - Update to 1.2.0 * Wed Jan 29 2020 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed May 01 15:49:20 CEST 2019 Robert-André Mauchin - 1.1.0-1 - Release 1.1.0 * Fri Feb 01 2019 Fedora Release Engineering - 0-0.8.20190201git6b67b3f - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0-0.7.20180713git6b67b3f - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0-0.6.20180207git6b67b3f - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Oct 03 2017 Jan Chaloupka - 0-0.5.20171003git6b67b3f - Bump to upstream 6b67b3fab74d992bd07f72550006ab2c6907c416 resolves: #1498057 resolves: #1493960 * Wed Aug 02 2017 Fedora Release Engineering - 0-0.4.gitd5336c7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.3.gitd5336c7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0-0.2.gitd5336c7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Dec 15 2016 Jan Chaloupka - 0-0.1.gitd5336c7 - First package for Fedora resolves: #1405074