Hello community,

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

Package is "ghc-mtl-compat"

Fri Sep 15 21:59:20 2017 rev:3 rq:525036 version:0.2.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-mtl-compat/ghc-mtl-compat.changes    
2016-07-20 09:28:06.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-mtl-compat.new/ghc-mtl-compat.changes       
2017-09-15 21:59:21.293589183 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - [email protected]
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+-------------------------------------------------------------------

Old:
----
  3.cabal

New:
----
  mtl-compat.cabal

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

Other differences:
------------------
++++++ ghc-mtl-compat.spec ++++++
--- /var/tmp/diff_new_pack.8gepVi/_old  2017-09-15 21:59:21.973493373 +0200
+++ /var/tmp/diff_new_pack.8gepVi/_new  2017-09-15 21:59:21.973493373 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-mtl-compat
 #
-# 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
@@ -22,16 +22,13 @@
 Release:        0
 Summary:        Backported Control.Monad.Except module from mtl
 License:        BSD-3-Clause
-Group:          System/Libraries
-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
-Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal
+Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-rpm-macros
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-# End cabal-rpm deps
 
 %description
 This package backports the "Control.Monad.Except" module from 'mtl' (if using
@@ -50,7 +47,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}
@@ -63,15 +60,12 @@
 %setup -q -n %{pkg_name}-%{version}
 cp -p %{SOURCE1} %{pkg_name}.cabal
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %post devel
 %ghc_pkg_recache
 
@@ -79,11 +73,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc CHANGELOG.md README.md
 
 %changelog

++++++ mtl-compat.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