# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/pin/tftp %global goipath github.com/pin/tftp/v3 Version: 3.0.0 %gometa %global common_description %{expand: TFTP server and client library for Golang.} %global golicenses LICENSE %global godocs CONTRIBUTORS README.md Name: %{goname} Release: %autorelease Summary: TFTP server and client library for Golang License: MIT URL: %{gourl} Source: %{gosource} # Remove in F43 Provides: golang-github-pin-tftp-3 = %{version}-%{release} Obsoletes: golang-github-pin-tftp-3 < 3.0.0-3 %global godevelheader %{expand: Provides: golang-github-pin-tftp-3-devel = %{version}-%{release} Obsoletes: golang-github-pin-tftp-3-devel < 3.0.0-3} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog