# Generated by go2rpm 1 %global debug_package %{nil} %bcond_without check # https://github.com/dgryski/go-farm %global goipath github.com/dgryski/go-farm %global commit a6ae2369ad13dc757768086f0cb902728c7e03e5 %gometa %global common_description %{expand: A pure-Go farmhash implementation.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Farmhash implementation License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %build %gobuild -o %{gobuilddir}/bin/go-farm %{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 * Tue Apr 07 2020 Fabian Affolter - 0-0.1.20200407gita6ae236 - Initial package