commit ghc-unbounded-delays for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-unbounded-delays for 
openSUSE:Factory checked in at 2020-08-28 21:40:14

Comparing /work/SRC/openSUSE:Factory/ghc-unbounded-delays (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-unbounded-delays.new.3399 (New)


Package is "ghc-unbounded-delays"

Fri Aug 28 21:40:14 2020 rev:2 rq:829466 version:0.1.1.0

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-unbounded-delays/ghc-unbounded-delays.changes
2020-06-19 17:05:13.216797460 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-unbounded-delays.new.3399/ghc-unbounded-delays.changes
  2020-08-28 21:40:14.668862131 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:46:25 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-unbounded-delays.spec ++
--- /var/tmp/diff_new_pack.tRpnBu/_old  2020-08-28 21:40:15.156862362 +0200
+++ /var/tmp/diff_new_pack.tRpnBu/_new  2020-08-28 21:40:15.164862366 +0200
@@ -44,7 +44,7 @@
 files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 
 %build
 %ghc_lib_build




commit ghc-unbounded-delays for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-unbounded-delays for 
openSUSE:Factory checked in at 2017-09-15 22:21:08

Comparing /work/SRC/openSUSE:Factory/ghc-unbounded-delays (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-unbounded-delays.new (New)


Package is "ghc-unbounded-delays"

Fri Sep 15 22:21:08 2017 rev:6 rq:525592 version:0.1.1.0

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-unbounded-delays/ghc-unbounded-delays.changes
2017-06-04 01:59:04.274623783 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-unbounded-delays.new/ghc-unbounded-delays.changes
   2017-09-15 22:21:10.121195741 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---



Other differences:
--
++ ghc-unbounded-delays.spec ++
--- /var/tmp/diff_new_pack.D4IYO4/_old  2017-09-15 22:21:11.361021107 +0200
+++ /var/tmp/diff_new_pack.D4IYO4/_new  2017-09-15 22:21:11.365020544 +0200
@@ -22,12 +22,11 @@
 Release:0
 Summary:Unbounded thread delays and timeouts
 License:BSD-3-Clause
-Group:  Development/Languages/Other
-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
 BuildRequires:  ghc-rpm-macros
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 The 'threadDelay' and 'timeout' functions from the 'base' library use the
@@ -36,7 +35,7 @@
 
 %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}
@@ -62,11 +61,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc README.markdown
 
 %changelog




commit ghc-unbounded-delays for openSUSE:Factory

2017-06-03 Thread root
Hello community,

here is the log from the commit of package ghc-unbounded-delays for 
openSUSE:Factory checked in at 2017-06-04 01:59:03

Comparing /work/SRC/openSUSE:Factory/ghc-unbounded-delays (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-unbounded-delays.new (New)


Package is "ghc-unbounded-delays"

Sun Jun  4 01:59:03 2017 rev:5 rq:499734 version:0.1.1.0

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-unbounded-delays/ghc-unbounded-delays.changes
2017-05-06 18:29:08.455549615 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-unbounded-delays.new/ghc-unbounded-delays.changes
   2017-06-04 01:59:04.274623783 +0200
@@ -1,0 +2,5 @@
+Thu May 18 09:52:21 UTC 2017 - psim...@suse.com
+
+- Update to version 0.1.1.0 with cabal2obs.
+
+---

Old:

  unbounded-delays-0.1.0.10.tar.gz
  unbounded-delays.cabal

New:

  unbounded-delays-0.1.1.0.tar.gz



Other differences:
--
++ ghc-unbounded-delays.spec ++
--- /var/tmp/diff_new_pack.1GHu5t/_old  2017-06-04 01:59:04.870539596 +0200
+++ /var/tmp/diff_new_pack.1GHu5t/_new  2017-06-04 01:59:04.870539596 +0200
@@ -18,14 +18,13 @@
 
 %global pkg_name unbounded-delays
 Name:   ghc-%{pkg_name}
-Version:0.1.0.10
+Version:0.1.1.0
 Release:0
 Summary:Unbounded thread delays and timeouts
 License:BSD-3-Clause
 Group:  Development/Languages/Other
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-rpm-macros
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -49,7 +48,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ unbounded-delays-0.1.0.10.tar.gz -> unbounded-delays-0.1.1.0.tar.gz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/unbounded-delays-0.1.0.10/Control/Concurrent/Timeout.hs 
new/unbounded-delays-0.1.1.0/Control/Concurrent/Timeout.hs
--- old/unbounded-delays-0.1.0.10/Control/Concurrent/Timeout.hs 2017-03-27 
20:09:15.0 +0200
+++ new/unbounded-delays-0.1.1.0/Control/Concurrent/Timeout.hs  2017-05-05 
03:36:24.0 +0200
@@ -15,7 +15,7 @@
 -- Wait arbitrarily long for an IO computation to finish.
 ---
 
-module Control.Concurrent.Timeout ( timeout ) where
+module Control.Concurrent.Timeout ( timeout, Timeout, timeoutWithPred ) where
 
 
 ---
@@ -26,8 +26,9 @@
 import Control.Concurrent   ( forkIOWithUnmask, myThreadId, throwTo, 
killThread )
 import Control.Exception( Exception, bracket, handleJust )
 import Control.Monad( return, (>>), fmap )
-import Data.Bool( otherwise )
+import Data.Bool( Bool(False), otherwise )
 import Data.Eq  ( Eq, (==) )
+import Data.Function( (.), const)
 import Data.Maybe   ( Maybe(Nothing, Just) )
 import Data.Ord ( (<) )
 import Data.Typeable( Typeable )
@@ -41,7 +42,7 @@
 import Control.Monad( (>>=), fail )
 #endif
 
-#ifdef __HADDOCK__
+#ifdef __HADDOCK_VERSION__
 import Data.Int ( Int )
 import System.IO( hGetBuf, hPutBuf, hWaitForInput )
 import qualified System.Timeout ( timeout )
@@ -71,13 +72,17 @@
 
 {-|
 Like @System.Timeout.'System.Timeout.timeout'@, but not bounded by an 'Int'.
-
+(..)
 Wrap an 'IO' computation to time out and return 'Nothing' in case no result is
 available within @n@ microseconds (@1\/10^6@ seconds). In case a result is
 available before the timeout expires, 'Just' @a@ is returned. A negative 
timeout
 interval means \"wait indefinitely\".
 
-The design of this combinator was guided by the objective that @timeout n f@
+If the computation has not terminated after @n@ microseconds, it is interrupted
+by an asynchronous exception. The function passed to @f@ can be used to detect
+whether it was interrupted by this timeout or some other exception.
+
+The design of this combinator was guided by the objective that @timeout n 
(const f)@
 should behave exactly the same as @f@ as long as @f@ doesn't time out. This
 means that @f@ has the same 'myThreadId' it would have without the timeout
 wrapper. Any exceptions @f@ might throw cancel the timeout and propagate 
further
@@ -99,9 +104,9 @@
 @select(2)@ to 

commit ghc-unbounded-delays for openSUSE:Factory

2017-05-06 Thread root
Hello community,

here is the log from the commit of package ghc-unbounded-delays for 
openSUSE:Factory checked in at 2017-05-06 18:29:07

Comparing /work/SRC/openSUSE:Factory/ghc-unbounded-delays (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-unbounded-delays.new (New)


Package is "ghc-unbounded-delays"

Sat May  6 18:29:07 2017 rev:4 rq:491519 version:0.1.0.10

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-unbounded-delays/ghc-unbounded-delays.changes
2017-04-14 13:41:37.998216015 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-unbounded-delays.new/ghc-unbounded-delays.changes
   2017-05-06 18:29:08.455549615 +0200
@@ -1,0 +2,5 @@
+Wed Apr 19 13:31:55 UTC 2017 - psim...@suse.com
+
+- Update to version 0.1.0.10 revision 1 with cabal2obs.
+
+---

New:

  unbounded-delays.cabal



Other differences:
--
++ ghc-unbounded-delays.spec ++
--- /var/tmp/diff_new_pack.3NLp2v/_old  2017-05-06 18:29:09.151451420 +0200
+++ /var/tmp/diff_new_pack.3NLp2v/_new  2017-05-06 18:29:09.155450855 +0200
@@ -25,6 +25,7 @@
 Group:  Development/Languages/Other
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-rpm-macros
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -48,6 +49,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ unbounded-delays.cabal ++
name:  unbounded-delays
version:   0.1.0.10
x-revision: 1
cabal-version: >= 1.6
build-type:Custom
author:Bas van Dijk 
   Roel van Dijk 
maintainer:Bas van Dijk 
   Roel van Dijk 
copyright: 2011-2012 Bas van Dijk & Roel van Dijk
license:   BSD3
license-file:  LICENSE
homepage:  https://github.com/basvandijk/unbounded-delays
bug-reports:   https://github.com/basvandijk/unbounded-delays/issues
category:  Concurrency
synopsis:  Unbounded thread delays and timeouts
description:   The @threadDelay@ and @timeout@ functions from the @base@ library
   use the bounded @Int@ type for specifying the delay or timeout
   period. This packages provides alternatives which use the
   unbounded @Integer@ type.

extra-source-files: README.markdown

source-repository head
  Type: git
  Location: git://github.com/basvandijk/unbounded-delays.git

custom-setup
  setup-depends: base >= 4 && < 5, Cabal >= 1.6 && < 2.1

library
  build-depends: base >= 4 && < 5
  exposed-modules: Control.Concurrent.Thread.Delay
 , Control.Concurrent.Timeout
  ghc-options: -Wall



commit ghc-unbounded-delays for openSUSE:Factory

2017-04-14 Thread root
Hello community,

here is the log from the commit of package ghc-unbounded-delays for 
openSUSE:Factory checked in at 2017-04-14 13:41:37

Comparing /work/SRC/openSUSE:Factory/ghc-unbounded-delays (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-unbounded-delays.new (New)


Package is "ghc-unbounded-delays"

Fri Apr 14 13:41:37 2017 rev:3 rq:487391 version:0.1.0.10

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-unbounded-delays/ghc-unbounded-delays.changes
2016-07-24 19:52:45.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-unbounded-delays.new/ghc-unbounded-delays.changes
   2017-04-14 13:41:37.998216015 +0200
@@ -1,0 +2,5 @@
+Tue Apr  4 11:04:08 UTC 2017 - psim...@suse.com
+
+- Update to version 0.1.0.10 with cabal2obs.
+
+---

Old:

  unbounded-delays-0.1.0.9.tar.gz

New:

  unbounded-delays-0.1.0.10.tar.gz



Other differences:
--
++ ghc-unbounded-delays.spec ++
--- /var/tmp/diff_new_pack.P8OIUk/_old  2017-04-14 13:41:38.782105224 +0200
+++ /var/tmp/diff_new_pack.P8OIUk/_new  2017-04-14 13:41:38.786104659 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-unbounded-delays
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -18,11 +18,11 @@
 
 %global pkg_name unbounded-delays
 Name:   ghc-%{pkg_name}
-Version:0.1.0.9
+Version:0.1.0.10
 Release:0
 Summary:Unbounded thread delays and timeouts
 License:BSD-3-Clause
-Group:  System/Libraries
+Group:  Development/Languages/Other
 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
@@ -49,15 +49,12 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %post devel
 %ghc_pkg_recache
 

++ unbounded-delays-0.1.0.9.tar.gz -> unbounded-delays-0.1.0.10.tar.gz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/unbounded-delays-0.1.0.9/Control/Concurrent/Timeout.hs 
new/unbounded-delays-0.1.0.10/Control/Concurrent/Timeout.hs
--- old/unbounded-delays-0.1.0.9/Control/Concurrent/Timeout.hs  2014-12-29 
09:34:11.0 +0100
+++ new/unbounded-delays-0.1.0.10/Control/Concurrent/Timeout.hs 2017-03-27 
20:09:15.0 +0200
@@ -23,7 +23,7 @@
 ---
 
 -- from base:
-import Control.Concurrent   ( forkIO, myThreadId, throwTo, killThread )
+import Control.Concurrent   ( forkIOWithUnmask, myThreadId, throwTo, 
killThread )
 import Control.Exception( Exception, bracket, handleJust )
 import Control.Monad( return, (>>), fmap )
 import Data.Bool( otherwise )
@@ -108,7 +108,7 @@
 ex  <- fmap Timeout newUnique
 handleJust (\e -> if e == ex then Just () else Nothing)
(\_ -> return Nothing)
-   (bracket (forkIO (delay n >> throwTo pid ex))
+   (bracket (forkIOWithUnmask (\unmask -> unmask (delay n >> 
throwTo pid ex)))
 (killThread)
 (\_ -> fmap Just f)
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unbounded-delays-0.1.0.9/unbounded-delays.cabal 
new/unbounded-delays-0.1.0.10/unbounded-delays.cabal
--- old/unbounded-delays-0.1.0.9/unbounded-delays.cabal 2014-12-29 
09:34:11.0 +0100
+++ new/unbounded-delays-0.1.0.10/unbounded-delays.cabal2017-03-27 
20:09:15.0 +0200
@@ -1,5 +1,5 @@
 name:  unbounded-delays
-version:   0.1.0.9
+version:   0.1.0.10
 cabal-version: >= 1.6
 build-type:Custom
 author:Bas van Dijk 




commit ghc-unbounded-delays for openSUSE:Factory

2016-07-24 Thread h_root
Hello community,

here is the log from the commit of package ghc-unbounded-delays for 
openSUSE:Factory checked in at 2016-07-24 19:51:36

Comparing /work/SRC/openSUSE:Factory/ghc-unbounded-delays (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-unbounded-delays.new (New)


Package is "ghc-unbounded-delays"

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-unbounded-delays/ghc-unbounded-delays.changes
2016-05-03 09:36:09.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-unbounded-delays.new/ghc-unbounded-delays.changes
   2016-07-24 19:52:45.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:02:00 UTC 2016 - psim...@suse.com
+
+- Update to version 0.1.0.9 revision 0 with cabal2obs.
+
+---



Other differences:
--
++ ghc-unbounded-delays.spec ++
--- /var/tmp/diff_new_pack.e2bKpq/_old  2016-07-24 19:52:46.0 +0200
+++ /var/tmp/diff_new_pack.e2bKpq/_new  2016-07-24 19:52:46.0 +0200
@@ -51,20 +51,18 @@
 
 
 %build
-%{ghc_lib_build}
+%ghc_lib_build
 
 
 %install
-%{ghc_lib_install}
+%ghc_lib_install
 
 
 %post devel
-%{ghc_pkg_recache}
-
+%ghc_pkg_recache
 
 %postun devel
-%{ghc_pkg_recache}
-
+%ghc_pkg_recache
 
 %files -f %{name}.files
 %defattr(-,root,root,-)