## 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 # https://github.com/hsiafan/glow/issues/1 %bcond_with check # https://github.com/hsiafan/glow %global goipath github.com/hsiafan/glow Version: 2.0.0 %gometa %global common_description %{expand: Parsing helper for go.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Parsing helper for go # Upstream license specification: BSD-2-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(golang.org/x/text/encoding) BuildRequires: golang(golang.org/x/text/encoding/htmlindex) BuildRequires: golang(golang.org/x/text/encoding/unicode) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(golang.org/x/text/encoding/charmap) BuildRequires: golang(golang.org/x/text/encoding/simplifiedchinese) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Mar 18 2022 Fabian Affolter 2.0.0-1 - Update to latest upstream release 2.0.0 (closes rhbz#2038947) * Thu Jan 20 2022 Fedora Release Engineering 1.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Oct 22 2021 Fabian Affolter 1.9.1-1 - Update to latest upstream release 1.9.1 (closes rhbz#2014967) * Fri Aug 27 2021 Fabian Affolter 1.8.4-1 - * Fri Aug 27 2021 Fabian Affolter - 1.8.4-1 - Update to latest upstream release 1.8.4 (closes rhbz#1963539) * Thu Jul 22 2021 Fedora Release Engineering 1.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering 1.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Jan 17 2021 Robert-André Mauchin 1.6.0-1 - Update to 1.6.0 * Sat Aug 01 2020 Fedora Release Engineering 1.1.3-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering 1.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 14 2020 Fabian Affolter 1.1.3-1 - * Mon Jul 13 2020 Fabian Affolter - 1.1.3-1 - Initial package for Fedora