Hello community,

here is the log from the commit of package ghc-mtl-compat for openSUSE:Factory 
checked in at 2016-07-20 09:28:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-mtl-compat (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-mtl-compat.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-mtl-compat"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-mtl-compat/ghc-mtl-compat.changes    
2016-05-03 09:35:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-mtl-compat.new/ghc-mtl-compat.changes       
2016-07-20 09:28:06.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:14:37 UTC 2016 - [email protected]
+
+- Update to version 0.2.1.3 revision 3 with cabal2obs.
+
+-------------------------------------------------------------------

New:
----
  3.cabal

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

Other differences:
------------------
++++++ ghc-mtl-compat.spec ++++++
--- /var/tmp/diff_new_pack.HjR6Xi/_old  2016-07-20 09:28:07.000000000 +0200
+++ /var/tmp/diff_new_pack.HjR6Xi/_new  2016-07-20 09:28:07.000000000 +0200
@@ -25,6 +25,7 @@
 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
+Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal
 BuildRequires:  ghc-Cabal-devel
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-mtl-devel
@@ -60,23 +61,22 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 
 %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,-)
@@ -84,6 +84,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc README.md
+%doc CHANGELOG.md README.md
 
 %changelog

++++++ 3.cabal ++++++
name:                mtl-compat
version:             0.2.1.3
x-revision: 3
synopsis:            Backported Control.Monad.Except module from mtl
description:         This package backports the "Control.Monad.Except" module 
from
                     @mtl@ (if using @mtl-2.2.0.1@ or earlier), which reexports 
the
                     @ExceptT@ monad transformer and the @MonadError@ class.
                     .
                     This package should only be used if there is a need to use 
the
                     @Control.Monad.Except@ module specifically. If you just 
want
                     the @mtl@ class instances for @ExceptT@, use
                     @transformers-compat@ instead, since @mtl-compat@ does 
nothing
                     but reexport the instances from that package.
                     .
                     Note that unlike how @mtl-2.2@ or later works, the
                     "Control.Monad.Except" module defined in this package 
exports
                     all of @ExceptT@'s monad class instances. Therefore, you 
may 
                     have to declare @import Control.Monad.Except ()@ at the 
top of
                     your file to get all of the @ExceptT@ instances in scope.
homepage:            https://github.com/haskell-compat/mtl-compat
bug-reports:         https://github.com/haskell-compat/mtl-compat/issues
stability:           Provisional
license:             BSD3
license-file:        LICENSE
author:              Ryan Scott
maintainer:          Ryan Scott <[email protected]>
copyright:           (C) 2015 Ryan Scott
category:            Compatibility
build-type:          Simple
extra-source-files:  CHANGELOG.md, README.md
cabal-version:       >=1.8

source-repository head
  type:                git
  location:            git://github.com/haskell-compat/mtl-compat.git

flag two-point-one
  default:             False
  manual:              True
  description:         Use mtl-2.1.3.1 or earlier with transformers-compat. This
                       will cause this package to export the 
Control.Monad.Except module.

flag two-point-two
  default:             False
  manual:              True
  description:         Use mtl-2.2.0.1 with transformers. This will cause this
                       package to export the Control.Monad.Except module.

library
  build-depends:       base                >= 4.3     && < 5

  if flag(two-point-one) || flag(two-point-two)
    exposed-modules:   Control.Monad.Except
    hs-source-dirs:    src
  
  if flag(two-point-one)
    build-depends:     mtl                 >= 2.0.1   && < 2.2
                     , transformers-compat >= 0.4     && < 0.6
  else
    if flag(two-point-two)
      build-depends:   mtl                 >= 2.2.0.1 && < 2.2.1
                     , transformers        >= 0.4.1   && < 0.6
    else
      build-depends:   mtl                 >= 2.2.1   && < 2.3

  ghc-options:         -Wall

Reply via email to