Accepting request 623776 from devel:languages:haskell

- Cosmetic: replace tabs with blanks, strip trailing white space,
  and update copyright headers with spec-cleaner.

- Update fsnotify to version 0.3.0.1.
  Version 0.3.0.0
  ---------------
  API breaking update with a number of bugfixes and improvements.
  * Now we can detect directory creation/deletion. A boolean flag has been added
    to `Event` to indicate if the event pertains to a directory or not. This is the
    only API change.
  * Test stability improvements + CI test suites now passing on Windows, Linux, and Mac.
  * Interpreting OSX hfsevents flags is more sane now (see comments in OSX.hs for details).
  * Improve a race condition when adding watches on Linux.
  * Improve robustness of the PollManager.
  * Fix double call to `closeHandle` on Windows.
  * Remove comments about locking from the documentation.

OBS-URL: https://build.opensuse.org/request/show/623776
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-fsnotify?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2018-07-24 15:18:55 +00:00 committed by Git OBS Bridge
commit 09a49a34f0
5 changed files with 110 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d7cb2fcbb60b1acdb217ecd560ccab98438560cf51310bd7d239ecf2f4f4048d
size 14941

3
fsnotify-0.3.0.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ded2165f72a2b4971f941cb83ef7f58b200e3e04159be78da55ba6c5d35f6da5
size 20638

76
fsnotify.cabal Normal file
View File

@ -0,0 +1,76 @@
Name: fsnotify
Version: 0.3.0.1
x-revision: 1
Author: Mark Dittmer <mark.s.dittmer@gmail.com>, Niklas Broberg
Maintainer: Tom McLaughlin <tom@codedown.io>
License: BSD3
License-File: LICENSE
Synopsis: Cross platform library for file change notification.
Description: Cross platform library for file creation, modification,
and deletion notification. This library builds upon
existing libraries for platform-specific Windows, Mac,
and Linux filesystem event notification.
Category: Filesystem
Cabal-Version: >= 1.8
Build-Type: Simple
Homepage: https://github.com/haskell-fswatch/hfsnotify
Extra-Source-Files:
README.md
CHANGELOG.md
test/Test.hs
test/EventUtils.hs
Library
Build-Depends: base >= 4.8 && < 5
, bytestring >= 0.10.2
, containers >= 0.4
, directory >= 1.1.0.0
, filepath >= 1.3.0.0
, text >= 0.11.0
, time >= 1.1
, async >= 2.0.1
, unix-compat >= 0.2
Exposed-Modules: System.FSNotify
, System.FSNotify.Devel
Other-Modules: System.FSNotify.Listener
, System.FSNotify.Path
, System.FSNotify.Polling
, System.FSNotify.Types
Hs-Source-Dirs: src
GHC-Options: -Wall
if os(linux)
CPP-Options: -DOS_Linux
Other-Modules: System.FSNotify.Linux
Build-Depends: hinotify >= 0.3.0,
shelly >= 1.6.5,
unix >= 2.7.1.0
else
if os(windows)
CPP-Options: -DOS_Win32
Other-Modules: System.FSNotify.Win32
, System.Win32.FileNotify
, System.Win32.Notify
Build-Depends: Win32
Hs-Source-Dirs: win-src
else
if os(darwin)
CPP-Options: -DOS_Mac
Other-Modules: System.FSNotify.OSX
Build-Depends: hfsevents >= 0.1.3
Test-Suite test
Type: exitcode-stdio-1.0
Main-Is: Test.hs
Other-modules: EventUtils
Hs-Source-Dirs: test
GHC-Options: -Wall -threaded
if os(windows)
Build-Depends: base >= 4.3.1.0, tasty >= 0.5, tasty-hunit, directory, filepath, unix-compat, fsnotify, async >= 2, temporary, random, Win32
else
Build-Depends: base >= 4.3.1.0, tasty >= 0.5, tasty-hunit, directory, filepath, unix-compat, fsnotify, async >= 2, temporary, random
Source-Repository head
Type: git
Location: git://github.com/haskell-fswatch/hfsnotify

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Wed Jul 18 14:26:25 UTC 2018 - psimons@suse.com
- Cosmetic: replace tabs with blanks, strip trailing white space,
and update copyright headers with spec-cleaner.
-------------------------------------------------------------------
Fri Jul 13 14:31:46 UTC 2018 - psimons@suse.com
- Update fsnotify to version 0.3.0.1.
Version 0.3.0.0
---------------
API breaking update with a number of bugfixes and improvements.
* Now we can detect directory creation/deletion. A boolean flag has been added
to `Event` to indicate if the event pertains to a directory or not. This is the
only API change.
* Test stability improvements + CI test suites now passing on Windows, Linux, and Mac.
* Interpreting OSX hfsevents flags is more sane now (see comments in OSX.hs for details).
* Improve a race condition when adding watches on Linux.
* Improve robustness of the PollManager.
* Fix double call to `closeHandle` on Windows.
* Remove comments about locking from the documentation.
-------------------------------------------------------------------
Mon May 14 17:02:11 UTC 2018 - psimons@suse.com
@ -20,4 +45,3 @@ Thu Aug 13 15:56:39 UTC 2015 - mimi.vx@gmail.com
Tue Jun 9 12:48:03 UTC 2015 - jmatejka@suse.cz
- Initial package

View File

@ -19,13 +19,14 @@
%global pkg_name fsnotify
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.2.1.2
Version: 0.3.0.1
Release: 0
Summary: Cross platform library for file change notification
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-bytestring-devel
@ -34,10 +35,13 @@ BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-hinotify-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-shelly-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-unix-compat-devel
BuildRequires: ghc-unix-devel
%if %{with tests}
BuildRequires: ghc-random-devel
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-hunit-devel
BuildRequires: ghc-temporary-devel
@ -61,6 +65,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