# Generated by go2rpm 1.8.1 %bcond_without check %global debug_package %{nil} # https://github.com/tonistiigi/fsutil %global goipath github.com/tonistiigi/fsutil %global commit 4638ad635be52e38af6b57952a7a5d3f938704a7 %gometa %global common_description %{expand: Incremental file directory sync tools in Golang.} %global golicenses LICENSE %global godocs readme.md Name: %{goname} Version: 0 Release: %autorelease -p Summary: Incremental file directory sync tools in Golang License: MIT URL: %{gourl} Source: %{gosource} BuildRequires: golang(github.com/containerd/containerd/pkg/userns) %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check for test in "TestCopySimple" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck %endif %gopkgfiles %changelog %autochangelog