# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://gitlab.com/cznic/cc %global goipath modernc.org/cc/v3 %global forgeurl https://gitlab.com/cznic/cc Version: 3.39.0 %global commit 40fda2a4f1889e2aebfc91396d73b288afa1507e %global distprefix %nil %gometa -f %global common_description %{expand: Package CC is a C99 compiler front end.} %global golicenses GO-LICENSE LICENSE %global godocs docs README.md AUTHORS CONTRIBUTORS Name: %{goname} Release: %autorelease Summary: C99 compiler front end License: BSD-3-Clause URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 find . ! \( -name v3 -o -name _build \) -maxdepth 1 -exec rm -rvf {} \; mv v3/* . %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog