%global goipath github.com/mitchellh/hashstructure
Version: 1.0.0
%gometa
Name: %{goname}
Release: 1%{?dist}
Summary: Get hash values for arbitrary values in Go
License: MIT
URL: %{gourl}
Source0: %{gosource}
%global _description \
The hashstructure Go library is 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.
%description %_description
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use import path with %{goipath} prefix.
%prep
%forgesetup
%install
%goinstall
%check
%gochecks
%files devel -f devel.file-list
%license LICENSE
%doc README.md
%changelog
* Tue Jan 15 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.0-1
- First package for Fedora