# Generated by go2rpm %bcond_without check # https://github.com/d2g/dhcp4 %global goipath github.com/d2g/dhcp4 %global commit a1d1b6c41b1ce8a71a5121a9cee31809c4707d9c %gometa %global common_description %{expand: A DHCP library written in Go.} %global golicenses LICENSE %global godocs README.md %global gosupfiles glide.lock glide.yaml Name: %{goname} Version: 0 Release: %mkrel 0.20 Summary: DHCP4 library written in Go Group: Development/Golang # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} Source1: glide.yaml Source2: glide.lock %description %{common_description} %gopkg %prep %goprep cp %{S:1} %{S:2} . %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles