diff --git a/fsnotify-0.2.1.2.tar.gz b/fsnotify-0.2.1.2.tar.gz new file mode 100644 index 0000000..f9abea1 --- /dev/null +++ b/fsnotify-0.2.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d7cb2fcbb60b1acdb217ecd560ccab98438560cf51310bd7d239ecf2f4f4048d +size 14941 diff --git a/fsnotify-0.2.1.tar.gz b/fsnotify-0.2.1.tar.gz deleted file mode 100644 index cf76071..0000000 --- a/fsnotify-0.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ebcf1b7bd825f269510850f20508a2ba0f640a41af08de0c171d8ba24618542b -size 14689 diff --git a/ghc-fsnotify.changes b/ghc-fsnotify.changes index d4b0f2e..4f4d7ee 100644 --- a/ghc-fsnotify.changes +++ b/ghc-fsnotify.changes @@ -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 diff --git a/ghc-fsnotify.spec b/ghc-fsnotify.spec index 0b8e76d..7f6c7e3 100644 --- a/ghc-fsnotify.spec +++ b/ghc-fsnotify.spec @@ -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