Blob Blame History Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/mitchellh/hashstructure
%global goipath         github.com/mitchellh/hashstructure
Version:                1.0.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:        2%{?dist}
Summary:        Get hash values for arbitrary values in Go

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

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Wed May 08 23:00:54 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.0.0-2
- Update to new macros

* Tue Jan 15 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.0-1
- First package for Fedora