# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/go-tomb/tomb %global goipath gopkg.in/tomb.v1 %global forgeurl https://github.com/go-tomb/tomb Version: 1 %global commit dd632973f1e7218eb1089048e0798ec9ae7dceb8 %gometa %global common_description %{expand: The Tomb package handles clean goroutine tracking and termination.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Clean goroutine termination in the Go language License: BSD-3-Clause URL: %{gourl} Source: %{gosource} Patch: https://patch-diff.githubusercontent.com/raw/go-tomb/tomb/pull/8.patch # Remove in F43 Provides: golang-gopkg-tomb-1 = %{version}-%{release} Obsoletes: golang-gopkg-tomb-1 < 1-13.20190623gitdd63297 %global godevelheader %{expand: Provides: golang-gopkg-tomb-1-devel = %{version}-%{release} Obsoletes: golang-gopkg-tomb-1-devel < 1-13.20190623gitdd63297} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog