# Generated by go2rpm 1 %bcond_without check # https://github.com/jcmturner/dnsutils %global goipath gopkg.in/jcmturner/dnsutils.v1 %global forgeurl https://github.com/jcmturner/dnsutils Version: 1.0.1 %gometa %global common_description %{expand: DNS utilities for Go.} %global golicenses LICENSE Name: %{goname} Release: %autorelease Summary: DNS utilities for Go # Upstream license specification: Apache-2.0 License: Apache-2.0 URL: %{gourl} Source0: %{gosource} # Remove in F43 Provides: golang-gopkg-jcmturner-dnsutils-1 = %{version}-%{release} Obsoletes: golang-gopkg-jcmturner-dnsutils-1 < 1.0.1-10 %global godevelheader %{expand: Provides: golang-gopkg-jcmturner-dnsutils-1-devel = %{version}-%{release} Obsoletes: golang-gopkg-jcmturner-dnsutils-1-devel < 1.0.1-10} %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog