Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-unliftio for openSUSE:Factory 
checked in at 2022-02-11 23:08:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-unliftio (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-unliftio.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-unliftio"

Fri Feb 11 23:08:08 2022 rev:21 rq:953407 version:0.2.21.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-unliftio/ghc-unliftio.changes        
2021-09-10 23:41:35.834577642 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-unliftio.new.1956/ghc-unliftio.changes      
2022-02-11 23:10:03.335058088 +0100
@@ -1,0 +2,16 @@
+Wed Feb  9 04:28:59 UTC 2022 - Peter Simons <[email protected]>
+
+- Update unliftio to version 0.2.21.0.
+  ## 0.2.21.0
+
+  * Add `UnliftIO.Directory.createDirectoryLink`
+  * Add `UnliftIO.Directory.removeDirectoryLink`
+  * Add `UnliftIO.Directory.getSymbolicLinkTarget`
+  * Add `UnliftIO.Directory.XdgDirectoryList`
+  * Add `UnliftIO.Directory.getXdgDirectoryList`
+
+  ## 0.2.20.1
+
+  * Fix time-osx.c for aarch64 mac 
[#91](https://github.com/fpco/unliftio/pull/91)
+
+-------------------------------------------------------------------

Old:
----
  unliftio-0.2.20.tar.gz

New:
----
  unliftio-0.2.21.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-unliftio.spec ++++++
--- /var/tmp/diff_new_pack.PZT1dX/_old  2022-02-11 23:10:03.935059823 +0100
+++ /var/tmp/diff_new_pack.PZT1dX/_new  2022-02-11 23:10:03.939059836 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-unliftio
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %global pkg_name unliftio
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.2.20
+Version:        0.2.21.0
 Release:        0
 Summary:        The MonadUnliftIO typeclass for unlifting monads to IO 
(batteries included)
 License:        MIT

++++++ unliftio-0.2.20.tar.gz -> unliftio-0.2.21.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.20/ChangeLog.md 
new/unliftio-0.2.21.0/ChangeLog.md
--- old/unliftio-0.2.20/ChangeLog.md    2021-08-30 04:43:30.000000000 +0200
+++ new/unliftio-0.2.21.0/ChangeLog.md  2022-02-09 05:27:43.000000000 +0100
@@ -1,5 +1,17 @@
 # Changelog for unliftio
 
+## 0.2.21.0
+
+* Add `UnliftIO.Directory.createDirectoryLink`
+* Add `UnliftIO.Directory.removeDirectoryLink`
+* Add `UnliftIO.Directory.getSymbolicLinkTarget`
+* Add `UnliftIO.Directory.XdgDirectoryList`
+* Add `UnliftIO.Directory.getXdgDirectoryList`
+
+## 0.2.20.1
+
+* Fix time-osx.c for aarch64 mac 
[#91](https://github.com/fpco/unliftio/pull/91)
+
 ## 0.2.20
 
 * Add lifted `System.IO.openFile` (https://github.com/fpco/unliftio/pull/88)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.20/cbits/time-osx.c 
new/unliftio-0.2.21.0/cbits/time-osx.c
--- old/unliftio-0.2.20/cbits/time-osx.c        2021-08-30 04:43:30.000000000 
+0200
+++ new/unliftio-0.2.21.0/cbits/time-osx.c      2022-02-09 05:27:43.000000000 
+0100
@@ -1,20 +1,13 @@
 /* From https://github.com/bos/criterion */
 
 #include <mach/mach.h>
-#include <mach/mach_time.h>
-
-static mach_timebase_info_data_t timebase_info;
-static double timebase_recip;
+#include <time.h>
 
 void unliftio_inittime(void)
 {
-    if (timebase_recip == 0) {
-       mach_timebase_info(&timebase_info);
-       timebase_recip = (timebase_info.denom / timebase_info.numer) / 1e9;
-    }
 }
 
 double unliftio_gettime(void)
 {
-    return mach_absolute_time() * timebase_recip;
+    return clock_gettime_nsec_np(CLOCK_UPTIME_RAW);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.20/src/UnliftIO/Directory.hs 
new/unliftio-0.2.21.0/src/UnliftIO/Directory.hs
--- old/unliftio-0.2.20/src/UnliftIO/Directory.hs       2021-08-30 
04:43:30.000000000 +0200
+++ new/unliftio-0.2.21.0/src/UnliftIO/Directory.hs     2022-02-09 
05:27:43.000000000 +0100
@@ -9,6 +9,9 @@
   , createDirectoryIfMissing
 #if MIN_VERSION_directory(1,3,1)
   , createFileLink
+  , createDirectoryLink
+  , removeDirectoryLink
+  , getSymbolicLinkTarget
 #endif
   , removeDirectory
   , removeDirectoryRecursive
@@ -34,6 +37,10 @@
   , XdgDirectory(..)
   , getXdgDirectory
 #endif
+#if MIN_VERSION_directory(1,3,2)
+  , XdgDirectoryList(..)
+  , getXdgDirectoryList
+#endif
   , getAppUserDataDirectory
   , getUserDocumentsDirectory
   , getTemporaryDirectory
@@ -123,6 +130,9 @@
 #if MIN_VERSION_directory(1,2,3)
   , XdgDirectory(..)
 #endif
+#if MIN_VERSION_directory(1,3,2)
+  , XdgDirectoryList(..)
+#endif
   , emptyPermissions
 #if MIN_VERSION_directory(1,2,4)
   , exeExtension
@@ -164,6 +174,27 @@
   -> m ()
 createFileLink targetPath linkPath =
   liftIO (D.createFileLink targetPath linkPath)
+
+-- | Lifted 'D.createDirectoryLink'.
+--
+-- @since 0.2.21.0
+createDirectoryLink :: MonadIO m => FilePath -> FilePath -> m ()
+createDirectoryLink targetPath linkPath =
+  liftIO (D.createDirectoryLink targetPath linkPath)
+
+-- | Lifted 'D.removeDirectoryLink'.
+--
+-- @since 0.2.21.0
+removeDirectoryLink :: MonadIO m => FilePath -> m ()
+removeDirectoryLink linkPath =
+  liftIO (D.removeDirectoryLink linkPath)
+
+-- | Lifted 'D.getSymbolicLinkTarget'.
+--
+-- @since 0.2.21.0
+getSymbolicLinkTarget :: MonadIO m => FilePath -> m FilePath
+getSymbolicLinkTarget linkPath =
+  liftIO (D.getSymbolicLinkTarget linkPath)
 #endif
 
 -- | Lifted 'D.removeDirectory'.
@@ -252,6 +283,15 @@
 getXdgDirectory xdgDir suffix = liftIO (D.getXdgDirectory xdgDir suffix)
 #endif
 
+#if MIN_VERSION_directory(1,3,2)
+-- | Lifted 'D.getXdgDirectoryList'.
+--
+-- @since 0.2.21.0
+getXdgDirectoryList :: MonadIO m => XdgDirectoryList -> m [FilePath]
+getXdgDirectoryList xdgDirectoryList =
+  liftIO (D.getXdgDirectoryList xdgDirectoryList)
+#endif
+
 -- | Lifted 'D.getAppUserDataDirectory'.
 --
 -- @since 0.2.6.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.20/src/UnliftIO/Temporary.hs 
new/unliftio-0.2.21.0/src/UnliftIO/Temporary.hs
--- old/unliftio-0.2.20/src/UnliftIO/Temporary.hs       2021-08-30 
04:43:30.000000000 +0200
+++ new/unliftio-0.2.21.0/src/UnliftIO/Temporary.hs     2022-02-09 
05:27:43.000000000 +0100
@@ -4,6 +4,42 @@
 -- Strongly inspired by\/stolen from the 
<https://github.com/feuerbach/temporary> package.
 --
 -- @since 0.1.0.0
+--
+-- === __Copyright notice:__
+--
+-- The following copyright notice is taken from 
<https://github.com/feuerbach/temporary>
+-- and is reproduced here as part of license terms of that package, of which 
this module is
+-- a derivate work.
+--
+-- @
+-- Copyright
+--   (c) 2003-2006, Isaac Jones
+--   (c) 2005-2009, Duncan Coutts
+--   (c) 2008, Maximilian Bolingbroke
+--   ... and other contributors
+--
+-- All rights reserved.
+--
+-- Redistribution and use in source and binary forms, with or without 
modification, are permitted
+-- provided that the following conditions are met:
+--
+--     * Redistributions of source code must retain the above copyright 
notice, this list of
+--       conditions and the following disclaimer.
+--     * Redistributions in binary form must reproduce the above copyright 
notice, this list of
+--       conditions and the following disclaimer in the documentation and/or 
other materials
+--       provided with the distribution.
+--     * Neither the name of Maximilian Bolingbroke nor the names of other 
contributors may be used to
+--       endorse or promote products derived from this software without 
specific prior written permission.
+--
+-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
AND ANY EXPRESS OR
+-- IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 
OF MERCHANTABILITY AND
+-- FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 
COPYRIGHT OWNER OR
+-- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
EXEMPLARY, OR CONSEQUENTIAL
+-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
SERVICES; LOSS OF USE,
+-- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 
THEORY OF LIABILITY, WHETHER
+-- IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
ARISING IN ANY WAY OUT
+-- OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 
DAMAGE.
+-- @
 module UnliftIO.Temporary
   ( withSystemTempFile
   , withSystemTempDirectory
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unliftio-0.2.20/unliftio.cabal 
new/unliftio-0.2.21.0/unliftio.cabal
--- old/unliftio-0.2.20/unliftio.cabal  2021-08-30 04:43:35.000000000 +0200
+++ new/unliftio-0.2.21.0/unliftio.cabal        2022-02-09 05:27:50.000000000 
+0100
@@ -5,7 +5,7 @@
 -- see: https://github.com/sol/hpack
 
 name:           unliftio
-version:        0.2.20
+version:        0.2.21.0
 synopsis:       The MonadUnliftIO typeclass for unlifting monads to IO 
(batteries included)
 description:    Please see the documentation and README at 
<https://www.stackage.org/package/unliftio>
 category:       Control

Reply via email to