# Generated by go2rpm %bcond_without check # https://github.com/spf13/cast %global goipath github.com/spf13/cast Version: 1.3.0 %gometa %global common_description %{expand: Cast is a library to convert between different go types in a consistent and easy way. Cast provides simple functions to easily convert a number to a string, an interface into a bool, etc. Cast does this intelligently when an obvious conversion is possible. It doesn’t make any attempts to guess what you meant, for example you can only convert a string to an int when it is a string representation of an int such as “8”. Cast was developed for use in Hugo, a website engine which uses YAML, TOML or JSON for meta data.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: 3%{?dist} Summary: Safe and easy casting from one type to another in Go License: MIT URL: %{gourl} Source0: %{gosource} %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Fri Apr 26 14:40:33 CEST 2019 Robert-André Mauchin - 1.3.0-3 - Update to new macros * Fri Feb 01 2019 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jan 18 2019 Elliott Sales de Andrade - 1.3.0-1 - Update to latest tagged release * Tue Oct 23 2018 Nicolas Mailhot - 0-0.14.20160730gite31f36f - redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias - https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/ * Fri Jul 13 2018 Fedora Release Engineering - 0-0.13.20160730gite31f36f - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Feb 27 2018 Jan Chaloupka - 0-0.12.20160730gite31f36f - Autogenerate some parts using the new macros * Wed Feb 07 2018 Fedora Release Engineering - 0-0.11.gite31f36f - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0-0.10.gite31f36f - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.9.gite31f36f - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Mar 06 2017 Jan Chaloupka - 0-0.8.gite31f36f - Use the standard weather import path prefix related: #1413617 * Fri Feb 10 2017 Fedora Release Engineering - 0-0.7.gite31f36f - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Jan 16 2017 Jan Chaloupka - 0-0.6.gite31f36f - Bump to upstream e31f36ffc91a2ba9ddb72a4b6a607ff9b3d3cb63 related: #1413617 * Mon Jan 16 2017 Jan Chaloupka - 0-0.5.git4d07383 - Polish the spec file resolves: #1413617 * Thu Jul 21 2016 Fedora Release Engineering - 0-0.4.git4d07383 - https://fedoraproject.org/wiki/Changes/golang1.7 * Mon Feb 22 2016 Fedora Release Engineering - 0-0.3.git4d07383 - https://fedoraproject.org/wiki/Changes/golang1.6 * Wed Feb 03 2016 Fedora Release Engineering - 0-0.2.git4d07383 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Oct 08 2015 jchaloup - 0-0.1.git4d07383 - First package for Fedora resolves: #1270063