From 87fe1d4cdc27e7ed2f8c92122390e43e36046a6224f581f14627ce0e17474a1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Tue, 9 Feb 2021 09:17:47 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-mmorph revision:10, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-mmorph?expand=0&rev=9 --- ghc-mmorph.changes | 14 ++++++++++++++ ghc-mmorph.spec | 6 ++++-- mmorph-1.1.3.tar.gz | 3 --- mmorph-1.1.4.tar.gz | 3 +++ mmorph.cabal | 33 +++++++++++++++++++++++++++++++++ 5 files changed, 54 insertions(+), 5 deletions(-) delete mode 100644 mmorph-1.1.3.tar.gz create mode 100644 mmorph-1.1.4.tar.gz create mode 100644 mmorph.cabal diff --git a/ghc-mmorph.changes b/ghc-mmorph.changes index 7677282..b20fb9a 100644 --- a/ghc-mmorph.changes +++ b/ghc-mmorph.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Feb 3 20:26:59 UTC 2021 - psimons@suse.com + +- Update mmorph to version 1.1.4 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Tue Feb 2 09:34:21 UTC 2021 - psimons@suse.com + +- Update mmorph to version 1.1.4. + 1.1.4 + + * Fix `MonadFail`-related code to work for GHCJS + ------------------------------------------------------------------- Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup diff --git a/ghc-mmorph.spec b/ghc-mmorph.spec index b43d38b..786ea98 100644 --- a/ghc-mmorph.spec +++ b/ghc-mmorph.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-mmorph # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,12 +18,13 @@ %global pkg_name mmorph Name: ghc-%{pkg_name} -Version: 1.1.3 +Version: 1.1.4 Release: 0 Summary: Monad morphisms License: BSD-3-Clause 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-mtl-devel BuildRequires: ghc-rpm-macros @@ -47,6 +48,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %autosetup -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build diff --git a/mmorph-1.1.3.tar.gz b/mmorph-1.1.3.tar.gz deleted file mode 100644 index 41ebaab..0000000 --- a/mmorph-1.1.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7923f7ad6260a05aaa8175b9f2a250f5bb63187427681171bd36d29a6cf2da65 -size 6975 diff --git a/mmorph-1.1.4.tar.gz b/mmorph-1.1.4.tar.gz new file mode 100644 index 0000000..f159e35 --- /dev/null +++ b/mmorph-1.1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df2a4c0be2a9ac9b77f2622fc5726a62fe2e579c42cee0bc6e72a2d201f4bec3 +size 6603 diff --git a/mmorph.cabal b/mmorph.cabal new file mode 100644 index 0000000..d107e32 --- /dev/null +++ b/mmorph.cabal @@ -0,0 +1,33 @@ +Name: mmorph +Version: 1.1.4 +x-revision: 1 +Cabal-Version: >= 1.10 +Build-Type: Simple +License: BSD3 +License-File: LICENSE +Copyright: 2013 Gabriel Gonzalez +Author: Gabriel Gonzalez +Maintainer: Gabriel439@gmail.com +Bug-Reports: https://github.com/Gabriel439/Haskell-MMorph-Library/issues +Synopsis: Monad morphisms +Description: This library provides monad morphism utilities, most commonly used + for manipulating monad transformer stacks. +Category: Control +Extra-Source-Files: CHANGELOG.md +Source-Repository head + Type: git + Location: https://github.com/Gabriel439/Haskell-MMorph-Library + +Library + Hs-Source-Dirs: src + Build-Depends: + base >= 4.13 && < 5 , + mtl >= 2.1 && < 2.3, + transformers >= 0.2.0.0 && < 0.6, + transformers-compat >= 0.3 && < 0.7 + if impl(ghc < 8.0) + Build-Depends: + fail == 4.9.* + Exposed-Modules: Control.Monad.Morph, Control.Monad.Trans.Compose + GHC-Options: -O2 + Default-Language: Haskell2010