From 8332a7895539dccbbcf77f3a323b69fec5a1e5f2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 01:34:03 +0800 Subject: [PATCH] update to 0.5.3 --- .gitignore | 1 + MonadRandom-0.5.3.cabal | 42 +++++++++++++++++++++++++++++++++++++++++ ghc-MonadRandom.spec | 10 ++++++++-- sources | 2 +- 4 files changed, 52 insertions(+), 3 deletions(-) create mode 100644 MonadRandom-0.5.3.cabal diff --git a/.gitignore b/.gitignore index 34495eb..cfcb45f 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /MonadRandom-0.5.1.1.tar.gz /MonadRandom-0.5.1.2.tar.gz /MonadRandom-0.5.2.tar.gz +/MonadRandom-0.5.3.tar.gz diff --git a/MonadRandom-0.5.3.cabal b/MonadRandom-0.5.3.cabal new file mode 100644 index 0000000..b3f913e --- /dev/null +++ b/MonadRandom-0.5.3.cabal @@ -0,0 +1,42 @@ +name: MonadRandom +version: 0.5.3 +x-revision: 1 +synopsis: Random-number generation monad. +description: Support for computations which consume random values. +license: BSD3 +license-file: LICENSE +author: Cale Gibbard and others +maintainer: Brent Yorgey +bug-reports: https://github.com/byorgey/MonadRandom/issues +category: Control +build-type: Simple +cabal-version: >=1.10 +extra-source-files: CHANGES.markdown +tested-with: GHC ==7.6.3 || ==7.8.4 || ==7.10.3 || ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.3 || ==8.10.1 + +source-repository head + type: git + location: git://github.com/byorgey/MonadRandom.git + +library + exposed-modules: + Control.Monad.Random, + Control.Monad.Random.Class, + Control.Monad.Random.Lazy, + Control.Monad.Random.Strict, + Control.Monad.Trans.Random, + Control.Monad.Trans.Random.Lazy, + Control.Monad.Trans.Random.Strict + build-depends: + base >=4.6 && <5, + transformers >=0.3 && <0.6, + transformers-compat >=0.4 && <0.7, + mtl >=2.1 && <2.3, + primitive >=0.6 && <0.8, + random >=1.0 && <1.3 + ghc-options: -Wall + default-language: Haskell2010 + other-extensions: Safe + + if impl(ghc < 8.0) + build-depends: fail >= 4.9 diff --git a/ghc-MonadRandom.spec b/ghc-MonadRandom.spec index 0271c3e..4534152 100644 --- a/ghc-MonadRandom.spec +++ b/ghc-MonadRandom.spec @@ -5,17 +5,19 @@ %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.5.2 -Release: 4%{?dist} +Version: 0.5.3 +Release: 1%{?dist} Summary: Random-number generation monad License: BSD 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: dos2unix BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-prof @@ -68,6 +70,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -105,6 +108,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Aug 5 2021 Jens Petersen - 0.5.3-1 +- update to 0.5.3 + * Thu Jul 22 2021 Fedora Release Engineering - 0.5.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index f380de0..8cfaf9b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (MonadRandom-0.5.2.tar.gz) = 97b19ab95d20ccb0da7cec90aa0616e864db9c16da0e19d4862f6df796600883e7c2e633688391e56186a8eea411ab4912f09d736abc0f6dac96ae98d9726fed +SHA512 (MonadRandom-0.5.3.tar.gz) = dde2a7ad4b6f27f8f4c94653b2a7c04cff1ef7a3dfbf6d036a6ef977f5952e9c7f905f0ad110438bc2764dcc985f04c9a7f1bd25997fd6f81ee55b654a7d6768