## 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/ccgo %global goipath modernc.org/ccgo/v4 %global forgeurl https://gitlab.com/cznic/ccgo Version: 4.6.2 %global tag v%{version} %gometa -f %global common_description %{expand: ccgo is a C compiler targeting Go.} %global golicenses LICENSE %global godocs AUTHORS CONTRIBUTORS README.md Name: %{goname} Release: %autorelease Summary: C compiler targeting Go # The main package is BSD-3-Clause. # The sqlite tests are public domain. License: BSD-3-Clause and blessing URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 # Not free: find . ! \( -name v4 -o -name _build -o -name LICENSE -o -name AUTHORS -o -name CONTRIBUTORS -o -name README.md \) -maxdepth 1 -exec rm -rvf {} \; mv v4/* . %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check # https://gitlab.com/cznic/cc/-/issues/155 %gocheck -d lib %endif %files %license LICENSE %doc AUTHORS CONTRIBUTORS README.md %gopkgfiles %changelog ## START: Generated by rpmautospec * Sun Feb 11 2024 Maxwell G - 4.6.2-4 - Rebuild for golang 1.22.0 * Wed Jan 24 2024 Fedora Release Engineering - 4.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 4.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Dec 31 2023 W. Michael Petullo - 4.6.2-1 - Update to 4.6.2 * Tue Sep 26 2023 W. Michael Petullo - 3.16.15-1 - Initial import (fedora#2233188) ## END: Generated by rpmautospec