# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://gitlab.com/cznic/libc %global goipath modernc.org/libc %global forgeurl https://gitlab.com/cznic/libc Version: 1.24.1 %global tag v%{version} %gometa -f %global common_description %{expand: C-runtime services for Go without cgo.} %global golicenses LICENSE LICENSE-GO LICENSE-honnef\\\ COPYRIGHT-musl %global godocs AUTHORS CONTRIBUTORS README.md Name: %{goname} Release: %autorelease Summary: C-runtime services for Go without cgo # BSD-3-Clause: main program # MIT: musl/ and honnef.co/ License: BSD-3-Clause AND MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 mv honnef.co/go/netdb/LICENSE LICENSE-honnef mv musl/COPYRIGHT COPYRIGHT-musl %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %files %license LICENSE LICENSE-GO LICENSE-honnef COPYRIGHT-musl %doc AUTHORS CONTRIBUTORS README.md %gopkgfiles %changelog %autochangelog