%global goipath github.com/go-bufio/bufio Version: 1 %gometa Name: %{goname} Release: 1%{?dist} Summary: Package bufio implements buffered I/O License: BSD URL: %{gourl} Source0: %{gosource} Patch0: bufio_tests_use_github.patch %description %{summary}. %package devel Summary: %{summary} BuildArch: noarch %description devel %{summary}. This package contains library source intended for building other packages which use import path with %{goipath} prefix. %prep %forgeautosetup -p1 %install %goinstall %check %gochecks %files devel -f devel.file-list %doc README.md %license LICENSE %changelog * Mon Mar 18 2019 Mark Goodwin - 1.0 - First package for Fedora