# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/go-tomb/tomb %global goipath gopkg.in/tomb.v2 %global forgeurl https://github.com/go-tomb/tomb %global commit d5d1b5820637886def9eef33e03a27a9f166942c %gometa %global goaltipaths gopkg.in/v2/tomb github.com/go-tomb/tomb %global common_description %{expand: The tomb package helps with clean goroutine termination in the Go language.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 2 Release: %autorelease Summary: Clean goroutine termination in the Go language License: BSD-3-Clause URL: %{gourl} Source: %{gosource} Patch: 0001-Fix-incorrect-usage-of-t.Fatalf-in-test.-Closes-rhbz.patch # Remove in F43 Provides: golang-gopkg-tomb-2 = %{version}-%{release} Obsoletes: golang-gopkg-tomb-2 < 2-12.20190623gitd5d1b58 %global godevelheader %{expand: Provides: golang-gopkg-tomb-2-devel = %{version}-%{release} Obsoletes: golang-gopkg-tomb-2-devel < 2-12.20190623gitd5d1b58} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog