# Generated by go2rpm 1 %bcond_without check %global debug_package %{nil} # https://github.com/storj/common %global goipath storj.io/common %global forgeurl https://github.com/storj/common %global commit a9c62a94a026e446a193246acc2e9b074461f0e5 %gometa %global common_description %{expand: Storj common packages.} %global golicenses LICENSE %global godocs CODE_OF_CONDUCT.md Name: %{goname} Version: 0 Release: %autorelease Summary: Storj common packages License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check # Certs woes for test in "TestVerifyPeerCertChains" "TestCompile" "TestFromBuild" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done # rpc: needs network %gocheck -d rpc -d ranger/httpranger %endif %gopkgfiles %changelog %autochangelog