commit ghc-async-dejafu for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-async-dejafu for 
openSUSE:Factory checked in at 2017-09-15 21:20:43

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


Package is "ghc-async-dejafu"

Fri Sep 15 21:20:43 2017 rev:3 rq:524138 version:0.1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-async-dejafu/ghc-async-dejafu.changes
2017-04-20 20:55:39.975949620 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-async-dejafu.new/ghc-async-dejafu.changes   
2017-09-15 21:20:44.392085619 +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-async-dejafu.spec ++
--- /var/tmp/diff_new_pack.NddIbC/_old  2017-09-15 21:20:45.287959332 +0200
+++ /var/tmp/diff_new_pack.NddIbC/_new  2017-09-15 21:20:45.287959332 +0200
@@ -23,14 +23,13 @@
 Release:0
 Summary:Run MonadConc operations asynchronously and wait for their 
results
 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-concurrency-devel
 BuildRequires:  ghc-exceptions-devel
 BuildRequires:  ghc-rpm-macros
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-dejafu-devel
@@ -53,7 +52,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}
@@ -81,10 +80,8 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 
 %changelog




commit ghc-async-dejafu for openSUSE:Factory

2017-04-20 Thread root
Hello community,

here is the log from the commit of package ghc-async-dejafu for 
openSUSE:Factory checked in at 2017-04-20 20:55:39

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


Package is "ghc-async-dejafu"

Thu Apr 20 20:55:39 2017 rev:2 rq:487957 version:0.1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-async-dejafu/ghc-async-dejafu.changes
2017-04-07 13:53:09.316761688 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-async-dejafu.new/ghc-async-dejafu.changes   
2017-04-20 20:55:39.975949620 +0200
@@ -1,0 +2,5 @@
+Thu Sep 15 07:01:42 UTC 2016 - psim...@suse.com
+
+- Update to version 0.1.3.0 revision 0 with cabal2obs.
+
+---

Old:

  async-dejafu-0.1.2.2.tar.gz

New:

  async-dejafu-0.1.3.0.tar.gz



Other differences:
--
++ ghc-async-dejafu.spec ++
--- /var/tmp/diff_new_pack.SLbJVH/_old  2017-04-20 20:55:40.807831980 +0200
+++ /var/tmp/diff_new_pack.SLbJVH/_new  2017-04-20 20:55:40.807831980 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-async-dejafu
 #
-# 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
@@ -19,32 +19,34 @@
 %global pkg_name async-dejafu
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.1.2.2
+Version:0.1.3.0
 Release:0
 Summary:Run MonadConc operations asynchronously and wait for their 
results
 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
-# Begin cabal-rpm deps:
-BuildRequires:  ghc-dejafu-devel
+BuildRequires:  ghc-concurrency-devel
 BuildRequires:  ghc-exceptions-devel
 BuildRequires:  ghc-rpm-macros
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
+BuildRequires:  ghc-dejafu-devel
 BuildRequires:  ghc-hunit-dejafu-devel
 %endif
-# End cabal-rpm deps
 
 %description
 The  library provides a
 higher-level interface over threads, allowing users to conveniently run IO
 operations asynchronously and wait for their results. This package is a
 reimplementation of async using the 'MonadConc' abstraction from
-, providing easy-to-use
-asynchronous operaitons within an easily-testable framework.
+, providing
+easy-to-use asynchronous operaitons within an easily-testable framework.
+
+This library itself is tested with .
 
 When these functions are used in an IO context, the behaviour should appear
 identical to the original async package.
@@ -63,20 +65,14 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache

++ async-dejafu-0.1.2.2.tar.gz -> async-dejafu-0.1.3.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/async-dejafu-0.1.2.2/Control/Concurrent/Async.hs 
new/async-dejafu-0.1.3.0/Control/Concurrent/Async.hs
--- old/async-dejafu-0.1.2.2/Control/Concurrent/Async.hs2016-05-03 
00:25:35.0 +0200
+++ new/async-dejafu-0.1.3.0/Control/Concurrent/Async.hs2016-08-28 
15:57:25.0 +0200
@@ -78,47 +78,17 @@
   ) where
 
 import Control.Applicative
+import Control.Concurrent.Classy.STM.TMVar (newEmptyTMVar, putTMVar, readTMVar)
 import Control.Exception (AsyncException(ThreadKilled), 
BlockedIndefinitelyOnSTM(..), Exception, SomeException)
 import Control.Monad
 import Control.Monad.Catch (finally, try, onException)
 import Control.Monad.Conc.Class
 import Control.Monad.STM.Class
 
-#if MIN_VERSION_dejafu(0,3,0)
-import Control.Concurrent.Classy.STM.TMVar (newEmptyTMVar, putTMVar, readTMVar)
-#else
-import Control.Concurrent.STM.CTMVar (CTMVar, newEmptyCTMVar, putCTMVar, 
readCTMVar)
-#endif
-
 #if !MIN_VERSION_base(4,8,0)
 import Data.Traversable
 #endif
 
-#if !MIN_VERSION_dejafu(0,3,0)
-type MVar m = CVar m
-
-newEmptyMVar :: MonadConc m => m (MVar m a)
-newEmptyMVar = newEmptyCVar
-
-putMVar :: MonadConc m => MVar m a -> a -> m ()
-putMVar = putCVar
-
-tak