diff --git a/.gitignore b/.gitignore index f0f396d..95c309a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /fsnotify-1.4.9.tar.gz /fsnotify-1.5.1.tar.gz /fsnotify-1.5.4.tar.gz +/fsnotify-1.6.0.tar.gz diff --git a/golang-github-fsnotify.spec b/golang-github-fsnotify.spec index bc516a6..d975879 100644 --- a/golang-github-fsnotify.spec +++ b/golang-github-fsnotify.spec @@ -1,11 +1,10 @@ - -# Generated by go2rpm 1.8.1 +# Generated by go2rpm 1.8.2 %bcond_without check %global debug_package %{nil} # https://github.com/fsnotify/fsnotify %global goipath github.com/fsnotify/fsnotify -Version: 1.5.4 +Version: 1.6.0 %gometa @@ -15,7 +14,7 @@ Version: 1.5.4 Cross-platform file system notifications for Go.} %global golicenses LICENSE -%global godocs AUTHORS CHANGELOG.md CONTRIBUTING.md README.md +%global godocs CONTRIBUTING.md CHANGELOG.md README.md Name: %{goname} Release: %autorelease @@ -40,6 +39,11 @@ Source: %{gosource} %if %{with check} %check +# https://github.com/fsnotify/fsnotify/issues/538 +for test in "TestInotifyDeleteOpenFile" "TestInotifyNoBlockingSyscalls" \ +; do +awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) +done %gocheck %endif diff --git a/sources b/sources index 918a010..603562d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fsnotify-1.5.4.tar.gz) = 173c8f04e3d36aace342784359f16b7c5af8f8eb331c26358ae3d533bc1c3b4942384d0e0c39d5f8a201c69b475cca624e64fe5d7d22b6184de10179a096d7c1 +SHA512 (fsnotify-1.6.0.tar.gz) = 8c92e093b79d696d5c83e904ed72fbd5e2cae3ecf61b247a60e0298daa71479428f2bb152629bb68c43bc8813d61ddce17004f3031acce4dfa0806d415badb8b