## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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.8.1 %bcond_without check # https://github.com/urfave/cli %global goipath github.com/urfave/cli/v2 Version: 2.14.1 %gometa %global common_description %{expand: A simple, fast, and fun package for building command line apps in Go.} %global golicenses LICENSE %global godocs docs/v2 CODE_OF_CONDUCT.md README.md Name: %{goname} Release: %autorelease Summary: A simple, fast, and fun package for building command line apps in Go License: MIT URL: %{gourl} Source: %{gosource} Patch: 0001-tests-Fix-int-overflow-on-i686.patch BuildRequires: golang(github.com/BurntSushi/toml) BuildRequires: golang(github.com/cpuguy83/go-md2man/v2/md2man) BuildRequires: golang(github.com/xrash/smetrics) BuildRequires: golang(golang.org/x/text/cases) BuildRequires: golang(golang.org/x/text/language) BuildRequires: golang(gopkg.in/yaml.v3) %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Tue Sep 27 2022 Maxwell G 2.14.1-4 - tests: Fix int overflow on i686 * Tue Sep 06 2022 Maxwell G 2.14.1-2 - Regenerate specfile * Tue Sep 06 2022 Maxwell G 2.14.1-1 - Update to 2.14.1. Fixes rhbz#2064386. * Thu Jul 21 2022 Fedora Release Engineering 2.3.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 28 2022 Robert-André Mauchin 2.3.0-6 - Bump to commit 175bb8742ca0c443612689bc4c0de6d0a558f8e1 Close: rhbz#2045626 * Thu Jan 20 2022 Fedora Release Engineering - 2.3.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 2.3.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 2.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 22 15:17:06 CET 2021 Robert-André Mauchin - 2.3.0-4 - Update to 2.3.0 * Mon Aug 03 22:09:26 CEST 2020 Robert-André Mauchin - 2.2.0-4 - Fix import path for md2man * Mon Jul 27 2020 Fedora Release Engineering - 2.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Apr 24 19:50:42 CEST 2020 Andreas Gerstmayr - 2.2.0-2 - Patch dependency import path in docs.go to use golang-github-cpuguy83-md2man-devel >= 2.0.0 (credits to Fabian Affolter) * Thu Apr 23 20:13:44 CEST 2020 Andreas Gerstmayr - 2.2.0-1 - Initial package