54710c2
# Generated by go2rpm 1.10.0
54710c2
%bcond_without check
54710c2
%global debug_package %{nil}
95fe2aa
95fe2aa
# https://github.com/hashicorp/mdns
95fe2aa
%global goipath         github.com/hashicorp/mdns
54710c2
Version:                1.0.5
45a3f41
54710c2
%gometa -L
27d0ce3
95fe2aa
%global common_description %{expand:
54710c2
Simple mDNS client/server library in Golang.}
95fe2aa
9d14996
%global golicenses      LICENSE
9d14996
%global godocs          README.md
9d14996
54710c2
Name:           golang-github-hashicorp-mdns
cd1ef8a
Release:        %autorelease
54710c2
Summary:        Simple mDNS client/server library in Golang
95fe2aa
45a3f41
License:        MIT
27d0ce3
URL:            %{gourl}
54710c2
Source:         %{gosource}
95fe2aa
54710c2
%description %{common_description}
aee5594
9d14996
%gopkg
45a3f41
45a3f41
%prep
54710c2
%goprep -A
54710c2
%autopatch -p1
54710c2
54710c2
%generate_buildrequires
54710c2
%go_generate_buildrequires
45a3f41
45a3f41
%install
9d14996
%gopkginstall
45615d0
95fe2aa
%if %{with check}
45a3f41
%check
9d14996
%gocheck
95fe2aa
%endif
45615d0
9d14996
%gopkgfiles
45a3f41
45a3f41
%changelog
cd1ef8a
%autochangelog