Accepting request 607801 from devel:languages:haskell

Update ghc-fsnotify to the latest version.

OBS-URL: https://build.opensuse.org/request/show/607801
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-fsnotify?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2018-05-30 10:07:55 +00:00 committed by Git OBS Bridge
commit 06e3114e1f
4 changed files with 19 additions and 22 deletions

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

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

View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon May 14 17:02:11 UTC 2018 - psimons@suse.com
- Update fsnotify to version 0.2.1.2.
* Update to the new hinotify API (v0.3.10)
* Catch IO exceptions when initialising inotify on Linux
-------------------------------------------------------------------
Sun Jul 10 17:33:50 UTC 2016 - psimons@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-fsnotify
#
# Copyright (c) 2016 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,16 +19,16 @@
%global pkg_name fsnotify
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.2.1
Version: 0.2.1.2
Release: 0
Summary: Cross platform library for file change notification
License: BSD-3-Clause
Group: System/Libraries
Url: https://hackage.haskell.org/package/%{pkg_name}
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
BuildRequires: ghc-Cabal-devel
# Begin cabal-rpm deps:
BuildRequires: ghc-async-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
@ -37,13 +37,11 @@ BuildRequires: ghc-rpm-macros
BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-unix-compat-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %{with tests}
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-hunit-devel
BuildRequires: ghc-temporary-rc-devel
BuildRequires: ghc-temporary-devel
%endif
# End cabal-rpm deps
%description
Cross platform library for file creation, modification, and deletion
@ -52,7 +50,7 @@ Windows, Mac, and Linux filesystem event notification.
%package devel
Summary: Haskell %{pkg_name} library development files
Group: Development/Libraries/Other
Group: Development/Libraries/Haskell
Requires: %{name} = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
@ -64,20 +62,14 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%install
%ghc_lib_install
%check
%if %{with tests}
%{cabal} test
%endif
%cabal_test
%post devel
%ghc_pkg_recache
@ -86,11 +78,9 @@ This package provides the Haskell %{pkg_name} library development files.
%ghc_pkg_recache
%files -f %{name}.files
%defattr(-,root,root,-)
%doc LICENSE
%license LICENSE
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%doc CHANGELOG.md README.md
%changelog