From f3213659030cdbec5cdcfae000c3c8ecd03819520da5569dc7052337d2d31e5b Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 2 Apr 2018 14:56:54 +0000 Subject: [PATCH 1/7] osc copypac from project:devel:languages:haskell:lts:11 package:ghc-hinotify revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hinotify?expand=0&rev=16 --- ghc-hinotify.changes | 26 +++----------------------- ghc-hinotify.spec | 2 +- 2 files changed, 4 insertions(+), 24 deletions(-) diff --git a/ghc-hinotify.changes b/ghc-hinotify.changes index 60ae1ea..e940fd9 100644 --- a/ghc-hinotify.changes +++ b/ghc-hinotify.changes @@ -1,26 +1,6 @@ ------------------------------------------------------------------- -Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com +Wed Mar 14 16:55:52 UTC 2018 - psimons@suse.com -- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. - -------------------------------------------------------------------- -Sun Dec 4 19:47:34 UTC 2016 - psimons@suse.com - -- Update to version 0.3.9 with cabal2obs. - -------------------------------------------------------------------- -Sun Jul 10 17:18:46 UTC 2016 - psimons@suse.com - -- Update to version 0.3.8.1 revision 0 with cabal2obs. - -------------------------------------------------------------------- -Sun Aug 9 15:59:00 UTC 2015 - mimi.vx@gmail.com - -- update to 0.3.8.1 -* Use file system encoding for file names. - -------------------------------------------------------------------- -Mon Feb 16 20:46:05 UTC 2015 - mimi.vx@gmail.com - -- initial commit of package ghc-hinotify version 0.3.7 +- Update hinotify to version 0.3.9. + A more detailed change log is not available. diff --git a/ghc-hinotify.spec b/ghc-hinotify.spec index 13275a4..496cf8e 100644 --- a/ghc-hinotify.spec +++ b/ghc-hinotify.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-hinotify # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed From 16253bbdc4f4748555fbb834a7dfc5d3af610e961eeb2f184417aea169d7b90d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 10 Apr 2018 01:12:45 +0000 Subject: [PATCH 2/7] osc copypac from project:devel:languages:haskell:lts:11 package:ghc-hinotify revision:4, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hinotify?expand=0&rev=17 --- ghc-hinotify.spec | 2 ++ hinotify.cabal | 89 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 hinotify.cabal diff --git a/ghc-hinotify.spec b/ghc-hinotify.spec index 496cf8e..189a793 100644 --- a/ghc-hinotify.spec +++ b/ghc-hinotify.spec @@ -26,6 +26,7 @@ License: BSD-3-Clause Group: Development/Libraries/Haskell URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-async-devel BuildRequires: ghc-containers-devel @@ -50,6 +51,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build diff --git a/hinotify.cabal b/hinotify.cabal new file mode 100644 index 0000000..9fdef36 --- /dev/null +++ b/hinotify.cabal @@ -0,0 +1,89 @@ +name: hinotify +version: 0.3.9 +x-revision: 1 +build-type: Simple +synopsis: Haskell binding to inotify +description: + This library provides a wrapper to the Linux Kernel's inotify feature, + allowing applications to subscribe to notifications when a file is + accessed or modified. +category: System +homepage: https://github.com/kolmodin/hinotify.git +license: BSD3 +license-file: LICENSE +author: Lennart Kolmodin +maintainer: Lennart Kolmodin +extra-source-files: README.md, CHANGELOG.md +cabal-version: >= 1.10 + +source-repository head + type: git + location: git://github.com/kolmodin/hinotify.git + +library + default-language: Haskell2010 + build-depends: base >= 4.5.0.0 && < 5, containers, directory, unix, + async >= 2.0 && < 2.2 + + exposed-modules: + System.INotify + other-modules: + System.INotify.Masks + + ghc-options: -Wall + includes: sys/inotify.h + hs-source-dirs: src + +test-suite test001 + type: exitcode-stdio-1.0 + default-language: Haskell2010 + build-depends: base, directory, hinotify + hs-source-dirs: src tests + main-is: test001-list-dir-contents.hs + other-modules: Utils + ghc-options: -Wall + +test-suite test002 + type: exitcode-stdio-1.0 + default-language: Haskell2010 + build-depends: base, directory, hinotify + hs-source-dirs: src tests + main-is: test002-writefile.hs + other-modules: Utils + ghc-options: -Wall + +test-suite test003 + type: exitcode-stdio-1.0 + default-language: Haskell2010 + build-depends: base, directory, hinotify + hs-source-dirs: src tests + main-is: test003-removefile.hs + other-modules: Utils + ghc-options: -Wall + +test-suite test004 + type: exitcode-stdio-1.0 + default-language: Haskell2010 + build-depends: base, directory, hinotify + hs-source-dirs: src tests + main-is: test004-modify-file.hs + other-modules: Utils + ghc-options: -Wall + +test-suite test005 + type: exitcode-stdio-1.0 + build-depends: base, directory, hinotify + default-language: Haskell2010 + hs-source-dirs: src tests + main-is: test005-move-file.hs + other-modules: Utils + ghc-options: -Wall + +test-suite test006 + type: exitcode-stdio-1.0 + build-depends: base, directory, hinotify + default-language: Haskell2010 + hs-source-dirs: src tests + main-is: test006-callbackHang.hs + other-modules: Utils + ghc-options: -Wall From 5e89d63d551d7c847c4b095493b1ccdf7e6829b5e3a91e74999a2b27cc5dd3be Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 13 Apr 2018 13:43:00 +0000 Subject: [PATCH 3/7] osc copypac from project:devel:languages:haskell:lts:11 package:ghc-hinotify revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hinotify?expand=0&rev=18 --- ghc-hinotify.changes | 26 +++++++++++++++++++++++--- ghc-hinotify.spec | 2 +- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/ghc-hinotify.changes b/ghc-hinotify.changes index e940fd9..60ae1ea 100644 --- a/ghc-hinotify.changes +++ b/ghc-hinotify.changes @@ -1,6 +1,26 @@ ------------------------------------------------------------------- -Wed Mar 14 16:55:52 UTC 2018 - psimons@suse.com +Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com -- Update hinotify to version 0.3.9. - A more detailed change log is not available. +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +------------------------------------------------------------------- +Sun Dec 4 19:47:34 UTC 2016 - psimons@suse.com + +- Update to version 0.3.9 with cabal2obs. + +------------------------------------------------------------------- +Sun Jul 10 17:18:46 UTC 2016 - psimons@suse.com + +- Update to version 0.3.8.1 revision 0 with cabal2obs. + +------------------------------------------------------------------- +Sun Aug 9 15:59:00 UTC 2015 - mimi.vx@gmail.com + +- update to 0.3.8.1 +* Use file system encoding for file names. + +------------------------------------------------------------------- +Mon Feb 16 20:46:05 UTC 2015 - mimi.vx@gmail.com + +- initial commit of package ghc-hinotify version 0.3.7 diff --git a/ghc-hinotify.spec b/ghc-hinotify.spec index 189a793..382df78 100644 --- a/ghc-hinotify.spec +++ b/ghc-hinotify.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-hinotify # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed From dab30b69ba19f5432a4ff775a74b6bb7eb7bfdaefbeca71395a91b02ec5081dd Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 26 Apr 2018 07:26:02 +0000 Subject: [PATCH 4/7] osc copypac from project:devel:languages:haskell:lts:11 package:ghc-hinotify revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hinotify?expand=0&rev=19 --- ghc-hinotify.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-hinotify.spec b/ghc-hinotify.spec index 382df78..50078fe 100644 --- a/ghc-hinotify.spec +++ b/ghc-hinotify.spec @@ -69,7 +69,7 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %ghc_pkg_recache %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files %doc CHANGELOG.md README.md From 9b32ea421b336d900eb522a10ac821ca2c45ddd50bf80f8d8fb16d16818d589a Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 14 May 2018 13:17:06 +0000 Subject: [PATCH 5/7] osc copypac from project:devel:languages:haskell:ghc-8.4.x package:ghc-hinotify revision:1, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hinotify?expand=0&rev=20 --- ghc-hinotify.changes | 26 -------------------------- ghc-hinotify.spec | 9 ++++++--- hinotify-0.3.10.tar.gz | 3 +++ hinotify-0.3.9.tar.gz | 3 --- hinotify.cabal | 18 +++++++++--------- 5 files changed, 18 insertions(+), 41 deletions(-) delete mode 100644 ghc-hinotify.changes create mode 100644 hinotify-0.3.10.tar.gz delete mode 100644 hinotify-0.3.9.tar.gz diff --git a/ghc-hinotify.changes b/ghc-hinotify.changes deleted file mode 100644 index 60ae1ea..0000000 --- a/ghc-hinotify.changes +++ /dev/null @@ -1,26 +0,0 @@ -------------------------------------------------------------------- -Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com - -- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. - -------------------------------------------------------------------- -Sun Dec 4 19:47:34 UTC 2016 - psimons@suse.com - -- Update to version 0.3.9 with cabal2obs. - -------------------------------------------------------------------- -Sun Jul 10 17:18:46 UTC 2016 - psimons@suse.com - -- Update to version 0.3.8.1 revision 0 with cabal2obs. - -------------------------------------------------------------------- -Sun Aug 9 15:59:00 UTC 2015 - mimi.vx@gmail.com - -- update to 0.3.8.1 -* Use file system encoding for file names. - -------------------------------------------------------------------- -Mon Feb 16 20:46:05 UTC 2015 - mimi.vx@gmail.com - -- initial commit of package ghc-hinotify version 0.3.7 - diff --git a/ghc-hinotify.spec b/ghc-hinotify.spec index 50078fe..5428976 100644 --- a/ghc-hinotify.spec +++ b/ghc-hinotify.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-hinotify # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name hinotify %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.3.9 +Version: 0.3.10 Release: 0 Summary: Haskell binding to inotify License: BSD-3-Clause @@ -29,10 +29,13 @@ Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-async-devel +BuildRequires: ghc-bytestring-devel BuildRequires: ghc-containers-devel -BuildRequires: ghc-directory-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-unix-devel +%if %{with tests} +BuildRequires: ghc-directory-devel +%endif %description This library provides a wrapper to the Linux Kernel's inotify feature, allowing diff --git a/hinotify-0.3.10.tar.gz b/hinotify-0.3.10.tar.gz new file mode 100644 index 0000000..0a98ebf --- /dev/null +++ b/hinotify-0.3.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:af2b7d5733ab52ca38f0d9aed1ec37304f1d6964caa0fb556b8215858c1d5d9d +size 9193 diff --git a/hinotify-0.3.9.tar.gz b/hinotify-0.3.9.tar.gz deleted file mode 100644 index a68dc84..0000000 --- a/hinotify-0.3.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f2480e4c08a516831c2221eebc6a9d3242e892932d9315c34cbe92a101c5df99 -size 9021 diff --git a/hinotify.cabal b/hinotify.cabal index 9fdef36..d717fbb 100644 --- a/hinotify.cabal +++ b/hinotify.cabal @@ -1,5 +1,5 @@ name: hinotify -version: 0.3.9 +version: 0.3.10 x-revision: 1 build-type: Simple synopsis: Haskell binding to inotify @@ -22,8 +22,8 @@ source-repository head library default-language: Haskell2010 - build-depends: base >= 4.5.0.0 && < 5, containers, directory, unix, - async >= 2.0 && < 2.2 + build-depends: base >= 4.5.0.0 && < 5, bytestring, containers, unix, + async >= 2.0 && < 2.3 exposed-modules: System.INotify @@ -37,7 +37,7 @@ library test-suite test001 type: exitcode-stdio-1.0 default-language: Haskell2010 - build-depends: base, directory, hinotify + build-depends: base, bytestring, directory, hinotify, unix hs-source-dirs: src tests main-is: test001-list-dir-contents.hs other-modules: Utils @@ -46,7 +46,7 @@ test-suite test001 test-suite test002 type: exitcode-stdio-1.0 default-language: Haskell2010 - build-depends: base, directory, hinotify + build-depends: base, bytestring, directory, hinotify, unix hs-source-dirs: src tests main-is: test002-writefile.hs other-modules: Utils @@ -55,7 +55,7 @@ test-suite test002 test-suite test003 type: exitcode-stdio-1.0 default-language: Haskell2010 - build-depends: base, directory, hinotify + build-depends: base, bytestring, directory, hinotify, unix hs-source-dirs: src tests main-is: test003-removefile.hs other-modules: Utils @@ -64,7 +64,7 @@ test-suite test003 test-suite test004 type: exitcode-stdio-1.0 default-language: Haskell2010 - build-depends: base, directory, hinotify + build-depends: base, bytestring, directory, hinotify, unix hs-source-dirs: src tests main-is: test004-modify-file.hs other-modules: Utils @@ -72,7 +72,7 @@ test-suite test004 test-suite test005 type: exitcode-stdio-1.0 - build-depends: base, directory, hinotify + build-depends: base, bytestring, directory, hinotify, unix default-language: Haskell2010 hs-source-dirs: src tests main-is: test005-move-file.hs @@ -81,7 +81,7 @@ test-suite test005 test-suite test006 type: exitcode-stdio-1.0 - build-depends: base, directory, hinotify + build-depends: base, bytestring, directory, hinotify, unix default-language: Haskell2010 hs-source-dirs: src tests main-is: test006-callbackHang.hs From 1c729cdf8b6e12c41a0f5040dd66861fbb216f801d8577e844af92bb07d8da8b Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 14 May 2018 15:20:33 +0000 Subject: [PATCH 6/7] osc copypac from project:devel:languages:haskell:ghc-8.4.x package:ghc-hinotify revision:2, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hinotify?expand=0&rev=21 --- ghc-hinotify.changes | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 ghc-hinotify.changes diff --git a/ghc-hinotify.changes b/ghc-hinotify.changes new file mode 100644 index 0000000..60ae1ea --- /dev/null +++ b/ghc-hinotify.changes @@ -0,0 +1,26 @@ +------------------------------------------------------------------- +Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +------------------------------------------------------------------- +Sun Dec 4 19:47:34 UTC 2016 - psimons@suse.com + +- Update to version 0.3.9 with cabal2obs. + +------------------------------------------------------------------- +Sun Jul 10 17:18:46 UTC 2016 - psimons@suse.com + +- Update to version 0.3.8.1 revision 0 with cabal2obs. + +------------------------------------------------------------------- +Sun Aug 9 15:59:00 UTC 2015 - mimi.vx@gmail.com + +- update to 0.3.8.1 +* Use file system encoding for file names. + +------------------------------------------------------------------- +Mon Feb 16 20:46:05 UTC 2015 - mimi.vx@gmail.com + +- initial commit of package ghc-hinotify version 0.3.7 + From 5e54f2ef33aaf2fd3eb92c15802a196d2fd2fe43e97c6e38a1a39e004c9ee235 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 15 May 2018 18:23:54 +0000 Subject: [PATCH 7/7] osc copypac from project:devel:languages:haskell:ghc-8.4.x package:ghc-hinotify revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hinotify?expand=0&rev=22 --- ghc-hinotify.changes | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ghc-hinotify.changes b/ghc-hinotify.changes index 60ae1ea..a0f78f7 100644 --- a/ghc-hinotify.changes +++ b/ghc-hinotify.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon May 14 17:02:11 UTC 2018 - psimons@suse.com + +- Update hinotify to version 0.3.10 revision 1. + - Allow async-2.2. + - Use `RawFilePath` (`ByteString`) for filenames, from `unix` package. + Changes the `Event` type and `addWatch` function. + ------------------------------------------------------------------- Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com