Blob Blame History Raw
# Generated by go2rpm 1.8.1
%bcond_without check
%global debug_package %{nil}

# https://github.com/mitchellh/hashstructure
%global goipath         github.com/mitchellh/hashstructure
Version:                1.1.0

%gometa

%global common_description %{expand:
Hashstructure is a Go library for creating a unique hash value for arbitrary
values in Go.

This can be used to key values in a hash (for use in a map, set, etc.) that are
complex. The most common use case is comparing two values without sending data
across the network, caching values locally (de-dup), and so on.}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Release:        %autorelease
Summary:        Get hash values for arbitrary values in Go (golang)

License:        MIT
URL:            %{gourl}
Source:         %{gosource}

%description %{common_description}

%gopkg

%prep
%goprep

%generate_buildrequires
%go_generate_buildrequires

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
%autochangelog