From 45a43b6dfff6e908bce80931a32087858417ed49 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 23 Jan 2023 01:35:16 +0800 Subject: [PATCH] update to 1.2.6 --- .gitignore | 1 + ghc-resourcet.spec | 23 ++++++++++++++------ resourcet-1.2.4.3.cabal | 47 ----------------------------------------- sources | 2 +- 4 files changed, 19 insertions(+), 54 deletions(-) delete mode 100644 resourcet-1.2.4.3.cabal diff --git a/.gitignore b/.gitignore index c99de49..f3966f7 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /resourcet-1.2.4.1.tar.gz /resourcet-1.2.4.2.tar.gz /resourcet-1.2.4.3.tar.gz +/resourcet-1.2.6.tar.gz diff --git a/ghc-resourcet.spec b/ghc-resourcet.spec index 8ed4f19..9e060a6 100644 --- a/ghc-resourcet.spec +++ b/ghc-resourcet.spec @@ -1,4 +1,4 @@ -# 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 resourcet @@ -7,20 +7,27 @@ %bcond_without tests Name: ghc-%{pkg_name} -Version: 1.2.4.3 -Release: 2%{?dist} +Version: 1.2.6 +Release: 1%{?dist} Summary: Deterministic allocation and freeing of scarce resources -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 -Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros +BuildRequires: ghc-base-devel +BuildRequires: ghc-containers-devel +BuildRequires: ghc-exceptions-devel +BuildRequires: ghc-mtl-devel +BuildRequires: ghc-primitive-devel +BuildRequires: ghc-transformers-devel +BuildRequires: ghc-unliftio-core-devel +%if %{with ghc_prof} BuildRequires: ghc-base-prof BuildRequires: ghc-containers-prof BuildRequires: ghc-exceptions-prof @@ -28,6 +35,7 @@ BuildRequires: ghc-mtl-prof BuildRequires: ghc-primitive-prof BuildRequires: ghc-transformers-prof BuildRequires: ghc-unliftio-core-prof +%endif %if %{with tests} BuildRequires: ghc-hspec-devel %endif @@ -77,7 +85,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -121,6 +128,10 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Sun Jan 22 2023 Jens Petersen - 1.2.6-1 +- https://hackage.haskell.org/package/resourcet-1.2.6/changelog +- refresh to cabal-rpm-2.1.0 with SPDX migration + * Thu Jul 21 2022 Fedora Release Engineering - 1.2.4.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/resourcet-1.2.4.3.cabal b/resourcet-1.2.4.3.cabal deleted file mode 100644 index 3126386..0000000 --- a/resourcet-1.2.4.3.cabal +++ /dev/null @@ -1,47 +0,0 @@ -Name: resourcet -Version: 1.2.4.3 -x-revision: 1 -Synopsis: Deterministic allocation and freeing of scarce resources. -description: Hackage documentation generation is not reliable. For up to date documentation, please see: . -License: BSD3 -License-file: LICENSE -Author: Michael Snoyman -Maintainer: michael@snoyman.com -Category: Data, Conduit -Build-type: Simple -Cabal-version: >=1.10 -Homepage: http://github.com/snoyberg/conduit -extra-source-files: ChangeLog.md, README.md - -Library - default-language: Haskell2010 - Exposed-modules: Control.Monad.Trans.Resource - Control.Monad.Trans.Resource.Internal - Data.Acquire - Data.Acquire.Internal - UnliftIO.Resource - Build-depends: base >= 4.9 && < 5 - , containers - , transformers >= 0.4 - , mtl >= 2.0 && < 2.3 - , exceptions (== 0.8.* || == 0.10.*) - , unliftio-core >=0.1.1.0 - , primitive - ghc-options: -Wall - -test-suite test - default-language: Haskell2010 - hs-source-dirs: test - main-is: main.hs - type: exitcode-stdio-1.0 - cpp-options: -DTEST - build-depends: resourcet - , base - , exceptions - , hspec >= 1.3 - , transformers - ghc-options: -Wall - -source-repository head - type: git - location: git://github.com/snoyberg/conduit.git diff --git a/sources b/sources index 22d4cdb..b346db5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (resourcet-1.2.4.3.tar.gz) = 75a3b4885d9fc8273c988f830c30fc4458efd938d89dba5ae34dbe9256c9a5c6ce42beb930cfa59666e87c97bf4c616a4053ef70e917259934e15bd0fee61bdd +SHA512 (resourcet-1.2.6.tar.gz) = 2b08c99ad102fd3bef1e1e9363c000f48f03d1ac3e5122c8c764c71f90905697a818a70391f0f67e5074b4cc0b030bd5cfecd3477930e3e4ec64049e10d8fa3a