## 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 1.8.0 %bcond_without check %global debug_package %{nil} # https://gitlab.com/cznic/lexer %global goipath modernc.org/lex %global forgeurl https://gitlab.com/cznic/lex Version: 1.1.0 %global tag v1.1.0 %gometa %global common_description %{expand: Support for a *nix (f)lex like tool on .l sources.} %global golicenses LICENSE %global godocs AUTHORS CONTRIBUTORS README Name: %{goname} Release: %autorelease Summary: Support for a *nix (f)lex like tool on .l sources License: BSD-3-Clause URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires echo "golang(modernc.org/lexer)" %build %gobuild -o %{gobuilddir}/bin/golex %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc AUTHORS CONTRIBUTORS README %{_bindir}/golex %gopkgfiles %changelog * Mon Aug 15 2022 Robert-André Mauchin 1.1.0-1 - Update to 1.1.0 - Close: rhbz#1965599 * Thu Jul 21 2022 Fedora Release Engineering - 1.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Dec 26 11:58:11 CET 2020 Robert-André Mauchin - 1.0.1-1 - Update to 1.0.1 - Close: rhbz#1872239 * Sat Aug 01 2020 Fedora Release Engineering - 1.0.0-5 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun May 12 17:06:47 CEST 2019 Robert-André Mauchin - 1.0.0-1 - Initial package