# Generated by go2rpm 1 %bcond_without check # https://github.com/alibabacloud-go/debug %global goipath github.com/alibabacloud-go/debug %global commit 9472017b5c6804c66e5d873fabd2a2a937b31e0b %gometa %global common_description %{expand: # FIXME} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: None # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %build %gobuild -o %{gobuilddir}/bin/debug %{goipath} %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 %{_bindir}/* %gopkgfiles %changelog * Fri Nov 22 16:08:39 UTC 2019 Brandon Perkins - 0-0.1.20191122git9472017 - Initial package