commit ghc-monad-peel for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-monad-peel for openSUSE:Factory 
checked in at 2017-09-15 21:58:40

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


Package is "ghc-monad-peel"

Fri Sep 15 21:58:40 2017 rev:3 rq:525020 version:0.2.1.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-peel/ghc-monad-peel.changes
2017-04-14 13:38:31.336597261 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-monad-peel.new/ghc-monad-peel.changes   
2017-09-15 21:58:41.359216716 +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-monad-peel.spec ++
--- /var/tmp/diff_new_pack.EUaOa8/_old  2017-09-15 21:58:42.367074687 +0200
+++ /var/tmp/diff_new_pack.EUaOa8/_new  2017-09-15 21:58:42.371074124 +0200
@@ -23,14 +23,13 @@
 Release:0
 Summary:Lift control operations like exception catching through monad 
transformers
 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-extensible-exceptions-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-transformers-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-test-framework-devel
@@ -47,7 +46,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}
@@ -75,10 +74,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-monad-peel for openSUSE:Factory

2017-04-14 Thread root
Hello community,

here is the log from the commit of package ghc-monad-peel for openSUSE:Factory 
checked in at 2017-04-14 13:38:30

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


Package is "ghc-monad-peel"

Fri Apr 14 13:38:30 2017 rev:2 rq:485145 version:0.2.1.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-monad-peel/ghc-monad-peel.changes
2016-10-22 13:12:32.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-monad-peel.new/ghc-monad-peel.changes   
2017-04-14 13:38:31.336597261 +0200
@@ -1,0 +2,5 @@
+Tue Mar  7 11:19:30 UTC 2017 - psim...@suse.com
+
+- Update to version 0.2.1.2 with cabal2obs.
+
+---

Old:

  monad-peel-0.2.1.1.tar.gz

New:

  monad-peel-0.2.1.2.tar.gz



Other differences:
--
++ ghc-monad-peel.spec ++
--- /var/tmp/diff_new_pack.LYElQa/_old  2017-04-14 13:38:32.656410732 +0200
+++ /var/tmp/diff_new_pack.LYElQa/_new  2017-04-14 13:38:32.660410167 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-monad-peel
 #
-# 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,15 +19,14 @@
 %global pkg_name monad-peel
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.2.1.1
+Version:0.2.1.2
 Release:0
 Summary:Lift control operations like exception catching through monad 
transformers
 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-extensible-exceptions-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-transformers-devel
@@ -37,7 +36,6 @@
 BuildRequires:  ghc-test-framework-devel
 BuildRequires:  ghc-test-framework-hunit-devel
 %endif
-# End cabal-rpm deps
 
 %description
 This package defines 'MonadPeelIO', a subset of 'MonadIO' into which generic
@@ -61,20 +59,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

++ monad-peel-0.2.1.1.tar.gz -> monad-peel-0.2.1.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-peel-0.2.1.1/Control/Monad/IO/Peel.hs 
new/monad-peel-0.2.1.2/Control/Monad/IO/Peel.hs
--- old/monad-peel-0.2.1.1/Control/Monad/IO/Peel.hs 2016-05-23 
10:44:41.0 +0200
+++ new/monad-peel-0.2.1.2/Control/Monad/IO/Peel.hs 2017-03-02 
13:25:39.0 +0100
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 {- |
 Module  :  Control.Monad.IO.Peel
 Copyright   :  © Anders Kaseorg, 2010
@@ -28,6 +29,9 @@
 import Control.Monad.Trans.List
 import Control.Monad.Trans.Maybe
 import Control.Monad.Trans.Error
+#if MIN_VERSION_transformers(0,4,0)
+import qualified Control.Monad.Trans.Except as Except
+#endif
 import Control.Monad.Trans.Reader
 import Control.Monad.Trans.State
 import qualified Control.Monad.Trans.State.Strict as Strict
@@ -72,6 +76,10 @@
   peelIO = liftPeel peelIO
 instance (Error e, MonadPeelIO m) => MonadPeelIO (ErrorT e m) where
   peelIO = liftPeel peelIO
+#if MIN_VERSION_transformers(0,4,0)
+instance MonadPeelIO m => MonadPeelIO (Except.ExceptT e m) where
+  peelIO = liftPeel peelIO
+#endif
 instance MonadPeelIO m => MonadPeelIO (ReaderT r m) where
   peelIO = liftPeel peelIO
 instance MonadPeelIO m => MonadPeelIO (StateT s m) where
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-peel-0.2.1.1/Control/Monad/Trans/Peel.hs 
new/monad-peel-0.2.1.2/Control/Monad/Trans/Peel.hs
--- old/monad-peel-0.2.1.1/Control/Monad/Trans/Peel.hs  2016-05-23 
10:44:41.0 +0200
+++ new/monad-peel-0.2.1.2/Control/Monad/Trans/Peel.hs  2017-03-02 
13:25:39.0 +0100
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 {- |
 Module  :  Control.Monad.Trans.Peel
 Copyright   :  © Anders Kaseorg, 2010
@@ -35,6 +36,9 @@
 import Control.Monad.Trans.List
 import Control.Monad.Trans.Maybe
 import Control.Monad.Trans.Error
+#if MIN_VERSION_transformers(0,4,0)
+import qualified Control.Monad.Trans.Except as Except
+#endif
 import Control.Monad.Trans.Reader
 import Control.Monad.Trans.State
 import qualified Control.Monad.Trans.State.Strict as Strict

commit ghc-monad-peel for openSUSE:Factory

2016-10-22 Thread h_root
Hello community,

here is the log from the commit of package ghc-monad-peel for openSUSE:Factory 
checked in at 2016-10-22 13:12:30

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


Package is "ghc-monad-peel"

Changes:

New Changes file:

--- /dev/null   2016-09-15 12:42:18.240042505 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-monad-peel.new/ghc-monad-peel.changes   
2016-10-22 13:12:32.0 +0200
@@ -0,0 +1,5 @@
+---
+Sun Jul 10 17:28:52 UTC 2016 - psim...@suse.com
+
+- Update to version 0.2.1.1 revision 0 with cabal2obs.
+

New:

  ghc-monad-peel.changes
  ghc-monad-peel.spec
  monad-peel-0.2.1.1.tar.gz



Other differences:
--
++ ghc-monad-peel.spec ++
#
# spec file for package ghc-monad-peel
#
# Copyright (c) 2016 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%global pkg_name monad-peel
%bcond_with tests
Name:   ghc-%{pkg_name}
Version:0.2.1.1
Release:0
Summary:Lift control operations like exception catching through monad 
transformers
License:BSD-3-Clause
Group:  System/Libraries
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-extensible-exceptions-devel
BuildRequires:  ghc-rpm-macros
BuildRequires:  ghc-transformers-devel
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
%if %{with tests}
BuildRequires:  ghc-HUnit-devel
BuildRequires:  ghc-test-framework-devel
BuildRequires:  ghc-test-framework-hunit-devel
%endif
# End cabal-rpm deps

%description
This package defines 'MonadPeelIO', a subset of 'MonadIO' into which generic
control operations such as 'catch' can be lifted from 'IO'. Instances are based
on monad transformers in 'MonadTransPeel', which includes all standard monad
transformers in the 'transformers' library except 'ContT'. For convenience, it
provides a wrapped version of Control.Exception with types generalized from
'IO' to all monads in 'MonadPeelIO'.

%package devel
Summary:Haskell %{pkg_name} library development files
Group:  Development/Libraries/Other
Requires:   %{name} = %{version}-%{release}
Requires:   ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}

%description devel
This package provides the Haskell %{pkg_name} library development files.

%prep
%setup -q -n %{pkg_name}-%{version}


%build
%ghc_lib_build


%install
%ghc_lib_install


%check
%if %{with tests}
%{cabal} test
%endif


%post devel
%ghc_pkg_recache

%postun devel
%ghc_pkg_recache

%files -f %{name}.files
%defattr(-,root,root,-)
%doc LICENSE

%files devel -f %{name}-devel.files
%defattr(-,root,root,-)

%changelog