# Generated by go2rpm 1.6.0 %bcond_without check # https://github.com/libp2p/go-msgio %global goipath github.com/libp2p/go-msgio Version: 0.2.0 %gometa %global common_description %{expand: Simple package to r/w length-delimited slices.} %global golicenses LICENSE %global godocs README.md msgio/README.md Name: %{goname} Release: 1%{?dist} Summary: Simple package to r/w length-delimited slices License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/gogo/protobuf/proto) BuildRequires: golang(github.com/libp2p/go-buffer-pool) BuildRequires: golang(github.com/multiformats/go-varint) %description %{common_description} %gopkg %prep %goprep %build for cmd in msgio; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %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 README.md msgio/README.md %{_bindir}/* %gopkgfiles %changelog * Mon Jun 13 2022 Maxwell G - 0.2.0-1 - Initial package