From 26edcfd3f269411f643c957f1b2d858ff33b3d34f5bb0ec00d7ba372a41ce158 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 1 Sep 2019 01:01:47 +0000 Subject: [PATCH 1/3] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-parallel revision:4, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-parallel?expand=0&rev=5 --- ghc-parallel.spec | 2 ++ parallel.cabal | 58 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 parallel.cabal diff --git a/ghc-parallel.spec b/ghc-parallel.spec index 9952126..0cd1a65 100644 --- a/ghc-parallel.spec +++ b/ghc-parallel.spec @@ -25,6 +25,7 @@ License: BSD-3-Clause Group: Development/Libraries/Haskell 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-array-devel BuildRequires: ghc-containers-devel @@ -57,6 +58,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build diff --git a/parallel.cabal b/parallel.cabal new file mode 100644 index 0000000..d29938b --- /dev/null +++ b/parallel.cabal @@ -0,0 +1,58 @@ +name: parallel +version: 3.2.2.0 +x-revision: 1 +-- 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.6.1, GHC==8.4.3, 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.14, + 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 From 0677827221d2acea70789c5101cc409924803bfbdf227445a61ad9b8dcc43952 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 25 Oct 2019 01:05:06 +0000 Subject: [PATCH 2/3] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-parallel revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-parallel?expand=0&rev=6 --- ghc-parallel.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/ghc-parallel.spec b/ghc-parallel.spec index 0cd1a65..7a77f09 100644 --- a/ghc-parallel.spec +++ b/ghc-parallel.spec @@ -22,7 +22,6 @@ Version: 3.2.2.0 Release: 0 Summary: Parallel programming library License: BSD-3-Clause -Group: Development/Libraries/Haskell 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 @@ -47,7 +46,6 @@ Strategies for Parallel Haskell>. %package devel Summary: Haskell %{pkg_name} library development files -Group: Development/Libraries/Haskell Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} From e4885f4655d27115b2d2f7ce8ebc5121967c498fc4a314523a443e8f5a6b97a5 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 24 Dec 2019 02:03:26 +0000 Subject: [PATCH 3/3] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-parallel revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-parallel?expand=0&rev=7 --- ghc-parallel.changes | 5 +++++ ghc-parallel.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ghc-parallel.changes b/ghc-parallel.changes index 218c566..e835137 100644 --- a/ghc-parallel.changes +++ b/ghc-parallel.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 8 16:14:22 UTC 2019 - Peter Simons + +- Drop obsolete group attributes. + ------------------------------------------------------------------- Thu Aug 2 16:29:58 UTC 2018 - psimons@suse.com diff --git a/ghc-parallel.spec b/ghc-parallel.spec index 7a77f09..03d60c2 100644 --- a/ghc-parallel.spec +++ b/ghc-parallel.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-parallel # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed