# Generated by go2rpm %bcond_without check # https://github.com/cespare/xxhash %global goipath github.com/cespare/xxhash Version: 2.1.1 %gometa %global goaltipaths github.com/cespare/xxhash/v2 %global common_description %{expand: xxhash is a Go implementation of the 64-bit xxHash algorithm, XXH64. This is a high-quality hashing algorithm that is much faster than anything in the Go standard library.} %global golicenses LICENSE.txt %global godocs README.md Name: %{goname} Release: 2%{?dist} Summary: Go implementation of the 64-bit xxHash algorithm (XXH64) License: MIT 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 %{golicenses} %doc %{godocs} %{_bindir}/* %gopkgfiles %changelog * Mon Jul 27 2020 Fedora Release Engineering - 2.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 24 22:02:00 CEST 2020 Robert-André Mauchin - 2.1.1-1 - Update to 2.1.1 * Tue Jan 28 2020 Fedora Release Engineering - 2.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Apr 24 21:45:39 CEST 2019 Robert-André Mauchin - 2.0.0-1 - Release 2.0.0 * Thu Jan 31 2019 Fedora Release Engineering - 1.1.0-0.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Nov 10 2018 Robert-André Mauchin - 1.1.0-1 - Release 1.1.0 - Update to new Go packaging * Fri Jul 13 2018 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Feb 13 2018 Kaushal - 1.0.0-1 - First package for Fedora