From 9eb7592545ee5d76be5cc798c67cadb218faa662 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 23 Jan 2023 01:26:48 +0800 Subject: [PATCH] update to 1.2.0 --- .gitignore | 1 + ghc-mmorph.spec | 21 ++++++-- mmorph-1.1.5.cabal => mmorph-1.2.0.cabal | 66 ++++++++++++------------ sources | 2 +- 4 files changed, 51 insertions(+), 39 deletions(-) rename mmorph-1.1.5.cabal => mmorph-1.2.0.cabal (58%) diff --git a/.gitignore b/.gitignore index 9a477d7..35963d4 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /mmorph-1.1.2.tar.gz /mmorph-1.1.3.tar.gz /mmorph-1.1.5.tar.gz +/mmorph-1.2.0.tar.gz diff --git a/ghc-mmorph.spec b/ghc-mmorph.spec index 70d0eb4..ceac25c 100644 --- a/ghc-mmorph.spec +++ b/ghc-mmorph.spec @@ -1,15 +1,15 @@ -# generated by cabal-rpm-2.0.9 +# generated by cabal-rpm-2.1.0 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name mmorph %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 1.1.5 -Release: 4%{?dist} +Version: 1.2.0 +Release: 1%{?dist} Summary: Monad morphisms -License: BSD +License: BSD-3-Clause Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz @@ -17,12 +17,19 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal# # End cabal-rpm sources # Begin cabal-rpm deps: +BuildRequires: dos2unix BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros +BuildRequires: ghc-base-devel +BuildRequires: ghc-mtl-devel +BuildRequires: ghc-transformers-devel +BuildRequires: ghc-transformers-compat-devel +%if %{with ghc_prof} BuildRequires: ghc-base-prof BuildRequires: ghc-mtl-prof BuildRequires: ghc-transformers-prof BuildRequires: ghc-transformers-compat-prof +%endif # End cabal-rpm deps %description @@ -68,7 +75,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -cp -bp %{SOURCE1} %{pkg_name}.cabal +dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -106,6 +113,10 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Sun Jan 22 2023 Jens Petersen - 1.2.0-1 +- https://hackage.haskell.org/package/mmorph-1.2.0/changelog +- refresh to cabal-rpm-2.1.0 with SPDX migration + * Thu Jul 21 2022 Fedora Release Engineering - 1.1.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/mmorph-1.1.5.cabal b/mmorph-1.2.0.cabal similarity index 58% rename from mmorph-1.1.5.cabal rename to mmorph-1.2.0.cabal index 1533d70..7020abc 100644 --- a/mmorph-1.1.5.cabal +++ b/mmorph-1.2.0.cabal @@ -1,33 +1,33 @@ -Name: mmorph -Version: 1.1.5 -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.5 && < 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 +Name: mmorph +Version: 1.2.0 +x-revision: 3 +Cabal-Version: >= 1.10 +Build-Type: Simple +License: BSD3 +License-File: LICENSE +Copyright: 2013 Gabriella Gonzalez +Author: Gabriella Gonzalez +Maintainer: GenuineGabriella@gmail.com +Bug-Reports: https://github.com/Gabriella439/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/Gabriella439/Haskell-MMorph-Library + +Library + Hs-Source-Dirs: src + Build-Depends: + base >= 4.5 && < 5 , + mtl >= 2.1 && < 2.4, + transformers >= 0.2.0.0 && < 0.7, + transformers-compat >= 0.3 && < 0.8 + 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 diff --git a/sources b/sources index a0551e6..c9b26cc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mmorph-1.1.5.tar.gz) = 8429661578ef47f52e45aa4fea71aba2af115a9afc062f6ae2679270cd9d87fbbccb4c21cedfb0d7374d56c30e4dce38683e0cc1c8f37d89cc462067d233a198 +SHA512 (mmorph-1.2.0.tar.gz) = 06c9e2b2d7caa65c6049225ba40a54cf9480e561a6ea521b4c83e38094beea0c2ed595244f434793c6964c6161ac3122da5a8b53fe772d527fbefb15e4cc2c14