Accepting request 607810 from devel:languages:haskell
Update ghc-hinotify to the latest version. OBS-URL: https://build.opensuse.org/request/show/607810 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-hinotify?expand=0&rev=6
This commit is contained in:
commit
6b7e6c9777
@ -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
|
Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-hinotify
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,19 +19,23 @@
|
|||||||
%global pkg_name hinotify
|
%global pkg_name hinotify
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.3.9
|
Version: 0.3.10
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Haskell binding to inotify
|
Summary: Haskell binding to inotify
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Libraries/Haskell
|
Group: Development/Libraries/Haskell
|
||||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
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-Cabal-devel
|
||||||
BuildRequires: ghc-async-devel
|
BuildRequires: ghc-async-devel
|
||||||
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: ghc-containers-devel
|
BuildRequires: ghc-containers-devel
|
||||||
BuildRequires: ghc-directory-devel
|
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRequires: ghc-unix-devel
|
BuildRequires: ghc-unix-devel
|
||||||
|
%if %{with tests}
|
||||||
|
BuildRequires: ghc-directory-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library provides a wrapper to the Linux Kernel's inotify feature, allowing
|
This library provides a wrapper to the Linux Kernel's inotify feature, allowing
|
||||||
@ -50,6 +54,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
@ -67,7 +72,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
%ghc_pkg_recache
|
%ghc_pkg_recache
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%doc LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%doc CHANGELOG.md README.md
|
%doc CHANGELOG.md README.md
|
||||||
|
3
hinotify-0.3.10.tar.gz
Normal file
3
hinotify-0.3.10.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:af2b7d5733ab52ca38f0d9aed1ec37304f1d6964caa0fb556b8215858c1d5d9d
|
||||||
|
size 9193
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f2480e4c08a516831c2221eebc6a9d3242e892932d9315c34cbe92a101c5df99
|
|
||||||
size 9021
|
|
89
hinotify.cabal
Normal file
89
hinotify.cabal
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
name: hinotify
|
||||||
|
version: 0.3.10
|
||||||
|
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 <kolmodin@gmail.com>
|
||||||
|
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, bytestring, containers, unix,
|
||||||
|
async >= 2.0 && < 2.3
|
||||||
|
|
||||||
|
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, bytestring, directory, hinotify, unix
|
||||||
|
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, bytestring, directory, hinotify, unix
|
||||||
|
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, bytestring, directory, hinotify, unix
|
||||||
|
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, bytestring, directory, hinotify, unix
|
||||||
|
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, bytestring, directory, hinotify, unix
|
||||||
|
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, bytestring, directory, hinotify, unix
|
||||||
|
default-language: Haskell2010
|
||||||
|
hs-source-dirs: src tests
|
||||||
|
main-is: test006-callbackHang.hs
|
||||||
|
other-modules: Utils
|
||||||
|
ghc-options: -Wall
|
Loading…
Reference in New Issue
Block a user