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 Sun Jul 10 17:33:50 UTC 2016 - psimons@suse.com

View File

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