# Generated by go2rpm 1 %bcond_without check # https://github.com/pierrec/xxHash %global goipath github.com/pierrec/xxHash Version: 0.1.5 %gometa %global common_description %{expand: Pure Go implementation of xxHash (32 and 64 bits versions).} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: 1%{?dist} Summary: Pure Go implementation of xxHash (32 and 64 bits versions) # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %build for cmd in xxhsum; 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 %{_bindir}/* %gopkgfiles %changelog * Fri May 29 22:58:33 UTC 2020 Aleksei Bavshin - 0.1.5-1 - Initial package