# Generated by go2rpm 1.3 %bcond_without check # https://github.com/hjson/hjson-go %global goipath github.com/hjson/hjson-go Version: 3.1.0 %gometa %global common_description %{expand: Hjson for Go.} %global golicenses LICENSE %global godocs README.md assets/testlist.txt Name: %{goname} Release: 1%{?dist} Summary: Hjson for Go License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %build for cmd in hjson-cli; 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 assets/testlist.txt %{_bindir}/* %gopkgfiles %changelog * Fri Mar 19 06:12:24 UTC 2021 Aleksei Bavshin - 3.1.0-1 - Initial package