## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %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.9.0 %bcond_without check %global debug_package %{nil} # https://gitlab.com/cznic/parser %global goipath modernc.org/parser %global forgeurl https://gitlab.com/cznic/parser Version: 1.1.0 %global tag v%{version} %gometa -f %global common_description %{expand: Collection of Go parsers.} %global golicenses LICENSE %global godocs README.md AUTHORS-nquads CONTRIBUTORS-nquads\\\ AUTHORS-yacc CONTRIBUTORS-yacc Name: %{goname} Release: %autorelease Summary: Collection of Go parsers License: BSD-3-Clause URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 # nquads and yacc share same license. cp nquads/LICENSE . cp nquads/AUTHORS nquads-AUTHORS cp nquads/CONTRIBUTORS nquads-CONTRIBUTORS cp yacc/AUTHORS yacc-AUTHORS cp yacc/CONTRIBUTORS yacc-CONTRIBUTORS %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %files %license LICENSE %doc README.md nquads-AUTHORS nquads-CONTRIBUTORS yacc-AUTHORS yacc-CONTRIBUTORS %gopkgfiles %changelog ## START: Generated by rpmautospec * Sun Feb 11 2024 Maxwell G - 1.1.0-4 - Rebuild for golang 1.22.0 * Wed Jan 24 2024 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Dec 31 2023 W. Michael Petullo - 1.1.0-1 - Update to 1.1.0 * Sat Aug 26 2023 W. Michael Petullo - 1.0.8-1 - initial import (fedora#2233179) ## END: Generated by rpmautospec