## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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/alecthomas/kong %global goipath github.com/alecthomas/kong Version: 0.6.1 %gometa %global common_description %{expand: Kong is a command-line parser for Go.} %global golicenses COPYING %global godocs _examples README.md Name: %{goname} Release: %autorelease Summary: Command-line parser for Go License: MIT URL: %{gourl} Source0: %{gosource} # Fix tests on Go 1.19 Patch: https://github.com/alecthomas/kong/pull/328.patch BuildRequires: golang(github.com/pkg/errors) %if %{with check} # Tests BuildRequires: golang(github.com/alecthomas/repr) BuildRequires: golang(github.com/stretchr/testify/require) %endif %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Sun Sep 04 2022 Elliott Sales de Andrade 0.6.1-1 - Update to latest version (#2096225) * Thu Jul 21 2022 Fedora Release Engineering 0.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 17 2022 Robert-André Mauchin 0.5.0-2 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Sun Mar 20 2022 Elliott Sales de Andrade 0.5.0-1 - Update to latest version (#2063318) * Sat Feb 19 2022 Elliott Sales de Andrade 0.4.1-1 - Update to latest version (#2054942) * Sun Feb 13 2022 Elliott Sales de Andrade 0.4.0-1 - Update to latest version (#2047367) * Thu Jan 20 2022 Fedora Release Engineering 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Jan 09 2022 Elliott Sales de Andrade 0.3.0-1 - Update to latest version (#2037604) * Sun Dec 19 2021 Elliott Sales de Andrade 0.2.22-1 - Update to latest version (#2031965) * Sun Dec 05 2021 Elliott Sales de Andrade 0.2.20-1 - Update to latest version (#2028444) * Mon Nov 15 2021 Elliott Sales de Andrade 0.2.18-1 - Update to latest version (#2020027) * Thu Jul 22 2021 Fedora Release Engineering - 0.2.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Jun 12 2021 Elliott Sales de Andrade - 0.2.17-1 - Update to latest version (#1968221) * Sat Mar 13 2021 Elliott Sales de Andrade - 0.2.16-1 - Update to latest version (#1937064) * Tue Feb 09 2021 Elliott Sales de Andrade - 0.2.15-1 - Update to latest version (#1926720) * Tue Jan 26 2021 Fedora Release Engineering - 0.2.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Dec 04 2020 Elliott Sales de Andrade - 0.2.12-1 - Update to latest version (#1904359) * Mon Jul 27 2020 Fedora Release Engineering - 0.2.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jul 12 2020 Elliott Sales de Andrade - 0.2.11-1 - Update to latest version * Thu Apr 30 2020 Elliott Sales de Andrade - 0.2.9-1 - Update to latest version * Sun Apr 26 2020 Elliott Sales de Andrade - 0.2.7-1 - Update to latest version * Fri Apr 17 2020 Elliott Sales de Andrade - 0.2.5-1 - Update to latest version * Sat Mar 07 2020 Elliott Sales de Andrade - 0.2.4-1 - Update to latest version * Tue Mar 03 2020 Elliott Sales de Andrade - 0.2.3-1 - Update to latest version * Sat Feb 15 2020 Elliott Sales de Andrade - 0.2.2-1 - Update to latest version * Tue Jan 28 2020 Fedora Release Engineering - 0.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Oct 30 2019 Elliott Sales de Andrade - 0.2.1-1 - Update to latest version * Thu Jul 25 2019 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Jul 10 04:35:16 EDT 2019 Elliott Sales de Andrade - 0.2.0-1 - Update to latest version * Tue Jun 04 15:06:52 CEST 2019 Robert-André Mauchin - 0.1.16-2 - Update to new macros * Mon Apr 01 2019 Elliott Sales de Andrade - 0.1.16-1 - Update to latest version * Thu Feb 28 2019 Elliott Sales de Andrade - 0.1.15-1 - First package for Fedora