# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/mimuret/golang-iij-dpf %global goipath github.com/mimuret/golang-iij-dpf Version: 0.9.1 %gometa -f %global common_description %{expand: IIJ DNS Platform Service API for Go.} %global golicenses LICENSE %global godocs README.md boilerplate.go.txt Name: %{goname} Release: %autorelease Summary: IIJ DNS Platform Service API for Go License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check # https://github.com/mimuret/golang-iij-dpf/issues/14 for test in "TestGinkgo" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck %endif %gopkgfiles %changelog %autochangelog