Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-auto-update for openSUSE:Factory
checked in at 2025-01-05 15:29:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-auto-update (Old)
and /work/SRC/openSUSE:Factory/.ghc-auto-update.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-auto-update"
Sun Jan 5 15:29:11 2025 rev:22 rq:1233969 version:0.2.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-auto-update/ghc-auto-update.changes
2024-12-26 12:24:09.627171627 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-auto-update.new.1881/ghc-auto-update.changes
2025-01-05 15:29:20.957055890 +0100
@@ -1,0 +2,9 @@
+Mon Dec 23 01:14:37 UTC 2024 - Peter Simons <[email protected]>
+
+- Update auto-update to version 0.2.6.
+ ## 0.2.6
+
+ * Using the thread version of AutoUpdate for non-threaded RTS.
+ [#1020](https://github.com/yesodweb/wai/pull/1020)
+
+-------------------------------------------------------------------
Old:
----
auto-update-0.2.5.tar.gz
New:
----
auto-update-0.2.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-auto-update.spec ++++++
--- /var/tmp/diff_new_pack.DG7Cbu/_old 2025-01-05 15:29:21.541079912 +0100
+++ /var/tmp/diff_new_pack.DG7Cbu/_new 2025-01-05 15:29:21.541079912 +0100
@@ -20,7 +20,7 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.2.5
+Version: 0.2.6
Release: 0
Summary: Efficiently run periodic, on-demand actions
License: MIT
++++++ auto-update-0.2.5.tar.gz -> auto-update-0.2.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/auto-update-0.2.5/ChangeLog.md
new/auto-update-0.2.6/ChangeLog.md
--- old/auto-update-0.2.5/ChangeLog.md 2001-09-09 03:46:40.000000000 +0200
+++ new/auto-update-0.2.6/ChangeLog.md 2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,10 @@
# ChangeLog for auto-update
+## 0.2.6
+
+* Using the thread version of AutoUpdate for non-threaded RTS.
+ [#1020](https://github.com/yesodweb/wai/pull/1020)
+
## 0.2.5
* Thread less autoupdate
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/auto-update-0.2.5/Control/AutoUpdate.hs
new/auto-update-0.2.6/Control/AutoUpdate.hs
--- old/auto-update-0.2.5/Control/AutoUpdate.hs 2001-09-09 03:46:40.000000000
+0200
+++ new/auto-update-0.2.6/Control/AutoUpdate.hs 2001-09-09 03:46:40.000000000
+0200
@@ -45,9 +45,26 @@
)
where
+import Control.AutoUpdate.Types
#ifdef mingw32_HOST_OS
import Control.AutoUpdate.Thread
#else
-import Control.AutoUpdate.Event
+import qualified Control.AutoUpdate.Event as Event
+import qualified Control.AutoUpdate.Thread as Thread
+
+import GHC.Event
+
+mkAutoUpdate :: UpdateSettings a -> IO (IO a)
+mkAutoUpdate settings = do
+ mmgr <- getSystemEventManager
+ case mmgr of
+ Nothing -> Thread.mkAutoUpdate settings
+ Just _m -> Event.mkAutoUpdate settings
+
+mkAutoUpdateWithModify :: UpdateSettings a -> (a -> IO a) -> IO (IO a)
+mkAutoUpdateWithModify settings f = do
+ mmgr <- getSystemEventManager
+ case mmgr of
+ Nothing -> Thread.mkAutoUpdateWithModify settings f
+ Just _m -> Event.mkAutoUpdateWithModify settings f
#endif
-import Control.AutoUpdate.Types
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/auto-update-0.2.5/auto-update.cabal
new/auto-update-0.2.6/auto-update.cabal
--- old/auto-update-0.2.5/auto-update.cabal 2001-09-09 03:46:40.000000000
+0200
+++ new/auto-update-0.2.6/auto-update.cabal 2001-09-09 03:46:40.000000000
+0200
@@ -1,5 +1,5 @@
name: auto-update
-version: 0.2.5
+version: 0.2.6
synopsis: Efficiently run periodic, on-demand actions
description: API docs and the README are available at
<http://www.stackage.org/package/auto-update>.
homepage: https://github.com/yesodweb/wai
@@ -21,9 +21,8 @@
Control.Reaper
Control.Reaper.Internal
other-modules: Control.AutoUpdate.Types
- if os(windows)
- other-modules: Control.AutoUpdate.Thread
- else
+ Control.AutoUpdate.Thread
+ if !os(windows)
exposed-modules: Control.AutoUpdate.Internal
other-modules: Control.AutoUpdate.Event
build-depends: base >= 4.12 && < 5,