From 6be16b968b41fdd95d43a69d0d259e413708f602 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Jul 25 2020 08:31:21 +0000 Subject: Update to latest version. --- diff --git a/.gitignore b/.gitignore index 316c420..f42e58f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /fsnotify-1.4.7.tar.gz +/fsnotify-1.4.9.tar.gz diff --git a/0001-Fix-TestInotifyOverflow.patch b/0001-Fix-TestInotifyOverflow.patch deleted file mode 100644 index 4ac4776..0000000 --- a/0001-Fix-TestInotifyOverflow.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 70cc4a11de4adb99aa24da1e7b1782da5535beaa Mon Sep 17 00:00:00 2001 -From: Matthias Stone -Date: Thu, 30 Aug 2018 14:03:37 -0600 -Subject: [PATCH] Fix TestInotifyOverflow (#265) - -* Queued inotify events could have been read by the test before max_queued_events was hit ---- - inotify_test.go | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/inotify_test.go b/inotify_test.go -index 54f3f00..2c11d2e 100644 ---- a/inotify_test.go -+++ b/inotify_test.go -@@ -11,6 +11,7 @@ import ( - "os" - "path/filepath" - "strings" -+ "sync" - "testing" - "time" - ) -@@ -390,9 +391,12 @@ func TestInotifyOverflow(t *testing.T) { - - errChan := make(chan error, numDirs*numFiles) - -+ // All events need to be in the inotify queue before pulling events off it to trigger this error. -+ wg := sync.WaitGroup{} - for dn := 0; dn < numDirs; dn++ { - testSubdir := fmt.Sprintf("%s/%d", testDir, dn) - -+ wg.Add(1) - go func() { - for fn := 0; fn < numFiles; fn++ { - testFile := fmt.Sprintf("%s/%d", testSubdir, fn) -@@ -409,8 +413,10 @@ func TestInotifyOverflow(t *testing.T) { - continue - } - } -+ wg.Done() - }() - } -+ wg.Wait() - - creates := 0 - overflows := 0 diff --git a/golang-github-fsnotify.spec b/golang-github-fsnotify.spec index 8a40072..d01953f 100644 --- a/golang-github-fsnotify.spec +++ b/golang-github-fsnotify.spec @@ -1,9 +1,9 @@ -# Generated by go2rpm +# Generated by go2rpm 1 %bcond_without check # https://github.com/fsnotify/fsnotify %global goipath github.com/fsnotify/fsnotify -Version: 1.4.7 +Version: 1.4.9 %gometa @@ -15,21 +15,19 @@ Obsoletes: golang-github-fsnotify-fsnotify-devel < 1.4.7-6 %global goaltipaths gopkg.in/fsnotify/fsnotify.v1 gopkg.in/fsnotify/v1/fsnotify %global common_description %{expand: -Package Fsnotify provides a platform-independent interface for file system -notifications.} +Cross-platform file system notifications for Go.} %global golicenses LICENSE %global godocs AUTHORS CHANGELOG.md CONTRIBUTING.md README.md Name: %{goname} -Release: 9%{?dist} +Release: 1%{?dist} Summary: Cross-platform file system notifications for Go # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} -Patch0: https://github.com/fsnotify/fsnotify/commit/70cc4a11de4adb99aa24da1e7b1782da5535beaa.patch#/0001-Fix-TestInotifyOverflow.patch BuildRequires: golang(golang.org/x/sys/unix) @@ -40,7 +38,6 @@ BuildRequires: golang(golang.org/x/sys/unix) %prep %goprep -%patch0 -p1 %install %gopkginstall @@ -53,6 +50,9 @@ BuildRequires: golang(golang.org/x/sys/unix) %gopkgfiles %changelog +* Sat Jul 25 2020 Elliott Sales de Andrade - 1.4.9-1 +- Update to latest version + * Wed Jan 29 2020 Fedora Release Engineering - 1.4.7-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index c3b5b37..ce8541f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fsnotify-1.4.7.tar.gz) = 840943043c49c837641f04b976f2ba610fc03bd31030ca6442744d51fa9241da1905730ea11466e249a5bd37437f1e2a433a012a64ce872a1562c941bd5bfcbf +SHA512 (fsnotify-1.4.9.tar.gz) = cd0878531556b25fa94bcf1aa04263c8ca83682afb95d6642c2d32158edd2ab95fae8b7888e5d7d3948001ce6f58e28c3324357a8f3343231c9aa0ea0dd52198