From 2a329f54fabe7f0feab14a2c670db9c313add7a9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Jun 21 2020 11:00:45 +0000 Subject: revised .cabal file --- diff --git a/ghc-parallel.spec b/ghc-parallel.spec index 74c0cde..289eb57 100644 --- a/ghc-parallel.spec +++ b/ghc-parallel.spec @@ -13,6 +13,7 @@ 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: @@ -75,6 +76,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 # End cabal-rpm setup diff --git a/parallel-3.2.2.0.cabal b/parallel-3.2.2.0.cabal new file mode 100644 index 0000000..c24e64d --- /dev/null +++ b/parallel-3.2.2.0.cabal @@ -0,0 +1,58 @@ +name: parallel +version: 3.2.2.0 +x-revision: 2 +-- NOTE: Don't forget to update ./changelog.md +license: BSD3 +license-file: LICENSE +maintainer: libraries@haskell.org +bug-reports: https://github.com/haskell/parallel/issues +synopsis: Parallel programming library +category: Control, Parallelism +build-type: Simple +cabal-version: >=1.10 +tested-with: GHC==8.10.1, GHC==8.8.3, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2, GHC==7.0.4 +description: + This package provides a library for parallel programming. + . + For documentation start from the "Control.Parallel.Strategies" + module below. + . + For more tutorial documentation, see the book . + . + To understand the principles behind the library, see + . + + +extra-source-files: changelog.md + +source-repository head + type: git + location: https://github.com/haskell/parallel.git + +library + default-language: Haskell2010 + other-extensions: + BangPatterns + CPP + MagicHash + UnboxedTuples + + exposed-modules: + Control.Seq + Control.Parallel + Control.Parallel.Strategies + + build-depends: + array >= 0.3 && < 0.6, + base >= 4.3 && < 4.15, + containers >= 0.4 && < 0.7, + deepseq >= 1.1 && < 1.5 + + ghc-options: -Wall + + if impl(ghc >= 6.11) + -- To improve parallel performance: + ghc-options: -feager-blackholing + + if impl(ghc >= 7.2.1) + build-depends: ghc-prim