forked from pool/ghc-fsnotify
Compare commits
8 Commits
Author | SHA256 | Date | |
---|---|---|---|
741789dc8a | |||
a01fa0111e | |||
cea4fd2210 | |||
0065f4f94b | |||
8aa981b3d6 | |||
0944b1fda1 | |||
7947c54591 | |||
68bcdc49a5 |
11
dont-install-example-exe.patch
Normal file
11
dont-install-example-exe.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
diff -ubr fsnotify-0.4.2.0-orig/fsnotify.cabal fsnotify-0.4.2.0-new/fsnotify.cabal
|
||||||
|
--- fsnotify-0.4.2.0-orig/fsnotify.cabal 2025-03-26 13:13:59.110671555 +0100
|
||||||
|
+++ fsnotify-0.4.2.0-new/fsnotify.cabal 2025-03-26 13:15:41.998116889 +0100
|
||||||
|
@@ -84,6 +84,7 @@
|
||||||
|
hfsevents >=0.1.8
|
||||||
|
|
||||||
|
executable example
|
||||||
|
+ buildable: False
|
||||||
|
main-is: Main.hs
|
||||||
|
other-modules:
|
||||||
|
Paths_fsnotify
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d130fb4a871a181a3d1485f24da85aa49d6ff9022ce08f8401b4626143eaf7ef
|
|
||||||
size 22783
|
|
3
fsnotify-0.4.3.0.tar.gz
Normal file
3
fsnotify-0.4.3.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ce56e7133fd2cf2da7a2dacbca08ae766e16030042c097dde526b822496d0037
|
||||||
|
size 24473
|
@@ -1,3 +1,33 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 20 11:39:03 UTC 2025 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update fsnotify to version 0.4.3.0.
|
||||||
|
Version 0.4.3.0
|
||||||
|
----------
|
||||||
|
* Use polling as a generic fallback and add support for WASM (https://github.com/haskell-fswatch/hfsnotify/pull/110)
|
||||||
|
* Gracefully handle broken symlinks (https://github.com/haskell-fswatch/hfsnotify/pull/120)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 21 10:47:51 UTC 2025 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update fsnotify to version 0.4.2.0.
|
||||||
|
* Bump hfsevents constraint to >= 0.1.8 to pick up race condition fix (see
|
||||||
|
https://github.com/luite/hfsevents/pull/19).
|
||||||
|
* Compatibility with text-2.1.2 and an upper bound of 2.2.
|
||||||
|
* Lots of CI and test improvements.
|
||||||
|
* Document polling interval units (#111).
|
||||||
|
* Fix compat with text-2.1.2 (closes #116).
|
||||||
|
* Remove some redundant cleanup code paths.
|
||||||
|
|
||||||
|
- Apply "dont-install-example-exe.patch" to disable installing
|
||||||
|
the "example" executable from this package.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 29 12:52:15 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update fsnotify to version 0.4.1.0 revision 1.
|
||||||
|
Upstream has revised the Cabal build instructions on Hackage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 30 17:06:49 UTC 2023 - Peter Simons <psimons@suse.com>
|
Thu Mar 30 17:06:49 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-fsnotify
|
# spec file for package ghc-fsnotify
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -20,12 +20,14 @@
|
|||||||
%global pkgver %{pkg_name}-%{version}
|
%global pkgver %{pkg_name}-%{version}
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.4.1.0
|
Version: 0.4.3.0
|
||||||
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
|
||||||
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
|
||||||
|
Patch01: dont-install-example-exe.patch
|
||||||
|
BuildRequires: chrpath
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-async-devel
|
BuildRequires: ghc-async-devel
|
||||||
BuildRequires: ghc-async-prof
|
BuildRequires: ghc-async-prof
|
||||||
@@ -37,15 +39,27 @@ BuildRequires: ghc-containers-devel
|
|||||||
BuildRequires: ghc-containers-prof
|
BuildRequires: ghc-containers-prof
|
||||||
BuildRequires: ghc-directory-devel
|
BuildRequires: ghc-directory-devel
|
||||||
BuildRequires: ghc-directory-prof
|
BuildRequires: ghc-directory-prof
|
||||||
|
BuildRequires: ghc-exceptions-devel
|
||||||
|
BuildRequires: ghc-exceptions-prof
|
||||||
BuildRequires: ghc-filepath-devel
|
BuildRequires: ghc-filepath-devel
|
||||||
BuildRequires: ghc-filepath-prof
|
BuildRequires: ghc-filepath-prof
|
||||||
BuildRequires: ghc-hinotify-devel
|
BuildRequires: ghc-hinotify-devel
|
||||||
BuildRequires: ghc-hinotify-prof
|
BuildRequires: ghc-hinotify-prof
|
||||||
BuildRequires: ghc-monad-control-devel
|
BuildRequires: ghc-monad-control-devel
|
||||||
BuildRequires: ghc-monad-control-prof
|
BuildRequires: ghc-monad-control-prof
|
||||||
|
BuildRequires: ghc-monad-logger-devel
|
||||||
|
BuildRequires: ghc-monad-logger-prof
|
||||||
|
BuildRequires: ghc-random-devel
|
||||||
|
BuildRequires: ghc-random-prof
|
||||||
|
BuildRequires: ghc-retry-devel
|
||||||
|
BuildRequires: ghc-retry-prof
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRequires: ghc-safe-exceptions-devel
|
BuildRequires: ghc-safe-exceptions-devel
|
||||||
BuildRequires: ghc-safe-exceptions-prof
|
BuildRequires: ghc-safe-exceptions-prof
|
||||||
|
BuildRequires: ghc-string-interpolate-devel
|
||||||
|
BuildRequires: ghc-string-interpolate-prof
|
||||||
|
BuildRequires: ghc-temporary-devel
|
||||||
|
BuildRequires: ghc-temporary-prof
|
||||||
BuildRequires: ghc-text-devel
|
BuildRequires: ghc-text-devel
|
||||||
BuildRequires: ghc-text-prof
|
BuildRequires: ghc-text-prof
|
||||||
BuildRequires: ghc-time-devel
|
BuildRequires: ghc-time-devel
|
||||||
@@ -54,20 +68,12 @@ BuildRequires: ghc-unix-compat-devel
|
|||||||
BuildRequires: ghc-unix-compat-prof
|
BuildRequires: ghc-unix-compat-prof
|
||||||
BuildRequires: ghc-unix-devel
|
BuildRequires: ghc-unix-devel
|
||||||
BuildRequires: ghc-unix-prof
|
BuildRequires: ghc-unix-prof
|
||||||
ExcludeArch: %{ix86}
|
|
||||||
%if %{with tests}
|
|
||||||
BuildRequires: ghc-exceptions-devel
|
|
||||||
BuildRequires: ghc-exceptions-prof
|
|
||||||
BuildRequires: ghc-random-devel
|
|
||||||
BuildRequires: ghc-random-prof
|
|
||||||
BuildRequires: ghc-retry-devel
|
|
||||||
BuildRequires: ghc-retry-prof
|
|
||||||
BuildRequires: ghc-sandwich-devel
|
|
||||||
BuildRequires: ghc-sandwich-prof
|
|
||||||
BuildRequires: ghc-temporary-devel
|
|
||||||
BuildRequires: ghc-temporary-prof
|
|
||||||
BuildRequires: ghc-unliftio-devel
|
BuildRequires: ghc-unliftio-devel
|
||||||
BuildRequires: ghc-unliftio-prof
|
BuildRequires: ghc-unliftio-prof
|
||||||
|
ExcludeArch: %{ix86}
|
||||||
|
%if %{with tests}
|
||||||
|
BuildRequires: ghc-sandwich-devel
|
||||||
|
BuildRequires: ghc-sandwich-prof
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -102,13 +108,14 @@ Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
|
|||||||
This package provides the Haskell %{pkg_name} profiling library.
|
This package provides the Haskell %{pkg_name} profiling library.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
%ghc_fix_rpath %{pkg_name}-%{version}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%cabal_test
|
%cabal_test
|
||||||
|
Reference in New Issue
Block a user