# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://gitlab.com/cznic/ccorpus %global goipath modernc.org/ccorpus %global forgeurl https://gitlab.com/cznic/ccorpus Version: 1.11.6 %global commit a2cd34148e7a3db22819b5a6ab0aceb5f82f7613 %global distprefix %nil %gometa -f %global common_description %{expand: Ccorpus provides a test body of C code.} %global golicenses LICENSE LICENSE-benchmarksgame LICENSE-tcc\\\ LICENSE-cxgo assets/github.com/gcc-mirror/gcc/COPYING3\\\ LICENSE-mir %global godocs AUTHORS CONTRIBUTORS README.md Name: %{goname} Release: %autorelease Summary: Test body of C code License: BSD-3-Clause AND TCL AND blessing AND MIT AD GPL-3.0-or-later AND Zlib URL: %{gourl} Source0: %{gosource} Source1: assets.go %description %{common_description} %gopkg %prep %goprep %autopatch -p1 # not free: rm -rfv assets/CompCert-3.6 assets/github.com/AbsInt/CompCert mv assets/benchmarksgame-team.pages.debian.net/LICENSE LICENSE-benchmarksgame mv assets/tcc-0.9.27/tests/tests2/LICENSE LICENSE-tcc mv assets/github.com/cxgo/LICENSE LICENSE-cxgo mv assets/github.com/vnmakarov/mir/LICENSE LICENSE-mir cp %{S:1} . %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog