## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 1.6.0 %ifnarch %{ix86} %{arm} %bcond_without check %endif # https://github.com/go-openapi/swag %global goipath github.com/go-openapi/swag Version: 0.21.1 %gometa %global common_description %{expand: Contains a bunch of helper functions for go-openapi and go-swagger projects.} %global golicenses LICENSE %global godocs CODE_OF_CONDUCT.md README.md Name: %{goname} Release: %autorelease Summary: Goodie bag in use in the Go-openapi projects # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/mailru/easyjson/jlexer) BuildRequires: golang(github.com/mailru/easyjson/jwriter) BuildRequires: golang(gopkg.in/yaml.v2) %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 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering 0.21.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Mar 02 2022 Robert-André Mauchin 0.21.1-1 - Update to 0.21.1 (fix FTBFS) Close: rhbz#1917079 Close: rhbz#2045597 * Thu Jan 20 2022 Fedora Release Engineering - 0.19.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.19.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.19.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Dec 21 09:05:39 CET 2020 Robert-André Mauchin - 0.19.12-1 - Update to 0.19.12 - Close: rhbz#1889496 * Thu Jul 30 17:22:16 CEST 2020 Robert-André Mauchin - 0.19.9-1 - Update to 0.19.9 * Mon Jul 27 2020 Fedora Release Engineering - 0.19.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.19.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.19.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 09 21:11:53 CEST 2019 Robert-André Mauchin - 0.19.0-1 - Initial package