Blob Blame History Raw
# Generated by go2rpm 1
%bcond_without check

# https://github.com/bep/tmc
%global goipath         github.com/bep/tmc
Version:                0.5.1

%gometa

%global common_description %{expand:
Provides basic roundtrip JSON etc. encoding/decoding of a
map[string]interface{} with custom type adapters.}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Release:        3%{?dist}
Summary:        Basic map[string]interface{} JSON roundtrip with custom adapters

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

%if %{with check}
# Tests
BuildRequires:  golang(github.com/frankban/quicktest)
BuildRequires:  golang(github.com/google/go-cmp/cmp)
BuildRequires:  golang(gopkg.in/yaml.v2)
%endif

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Mon Sep 23 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.5.1-1
- Update to latest version

* Thu Sep 05 00:02:16 EDT 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.5.0-1
- Initial package