## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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/scannertest %global goipath modernc.org/scannertest %global forgeurl https://gitlab.com/cznic/scannertest Version: 1.0.2 %global tag v%{version} %gometa -f %global common_description %{expand: Package scannertest provides helpers for automated testing of scanners/lexers/tokenizers.} %global golicenses LICENSE %global godocs AUTHORS CONTRIBUTORS README Name: %{goname} Release: %autorelease Summary: Provides helpers for automated testing of scanners/lexers/tokenizers License: BSD-3-Clause and MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog ## START: Generated by rpmautospec * Wed Jan 24 2024 Fedora Release Engineering - 1.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Aug 27 2023 W. Michael Petullo - 1.0.2-1 - Initial import (fedora#2233181) ## END: Generated by rpmautospec