# Generated by go2rpm 1.15.0 %bcond check 1 %bcond bootstrap 0 %global debug_package %{nil} %if %{with bootstrap} %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ %endif # https://github.com/ncw/swift %global goipath github.com/ncw/swift/v2 Version: 2.0.3 %gometa -f %global common_description %{expand: Go language interface to Swift / Openstack Object Storage / Rackspace cloud files (golang).} %global golicenses COPYING %global godocs README.md RELEASE.md notes.txt Name: golang-github-ncw-swift-2 Release: %autorelease Summary: Go language interface to Swift License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep -A %autopatch -p1 %if %{without bootstrap} %generate_buildrequires %go_generate_buildrequires %endif %install %gopkginstall %if %{without bootstrap} %if %{with check} %check for test in "TestWatchdogReaderOnSlowNetwork" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck -d rs %endif %endif %gopkgfiles %changelog %autochangelog