# https://github.com/spf13/cast %global goipath github.com/spf13/cast %global commit 8c9545af88b134710ab1cd196795e7f2388358d7 %global commitdate 20160730 Name: %{goname} Version: 1.3.0 %gometa Release: 1%{?dist} Summary: Safe and easy casting from one type to another in Go Group: Development/Other License: MIT URL: %{gourl} Source0: %{gosource} BuildArch: noarch %description %{summary} %package devel Summary: %{summary} BuildRequires: golang(github.com/spf13/jwalterweatherman) # Tests deps BuildRequires: golang(github.com/stretchr/testify/assert) %description devel %{summary} This package contains library source intended for building other packages which use import path with %{gobaseipath} prefix. %prep %gosetup %install %goinstall %check %gochecks #define license tag if not already defined %{!?_licensedir:%global license %doc} %files devel -f devel.file-list %license LICENSE %doc README.md %changelog * Tue Nov 27 2018 pterjan <pterjan> 1.3.0-1.mga7 + Revision: 1335981 - Update to 1.3.0 * Mon Nov 26 2018 pterjan <pterjan> 0-0.1.mga7 + Revision: 1335541 - imported package golang-github-spf13-cast