%global commit 946bd9fbed05568b0f3cd188353d8aa28f38b688 %global project miekg %global repo dns %global common_description A complete and usable Go DNS library. All widely used Resource Records are supported, including the DNSSEC types. It follows a lean and mean philosophy. If there is stuff you should know as a DNS programmer there isn't a convenience function for it. Server side and client side programming is supported, i.e. you can build servers and resolvers with it. %_go_metadata Release: 0.15%{?sdist} Summary: Supplementary DNS Go libraries License: BSD %description %{common_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{common_description} This package contains the source code needed for building packages that import the %{_go_import_path} Go namespace. %prep %setup -n %{archivename} %install gofiles=$(find . -iname "*.go" \! -iname "*_test.go" \! -ipath "*/testdata/*" -print) %_go_install $gofiles %check # . checks need network %_go_checks . %files devel -f devel.file-list %license LICENSE COPYRIGHT %doc AUTHORS CONTRIBUTORS *\.md %changelog