Accepting request 259832 from devel:languages:haskell:platform
Haskell Platform 2014.2.0.0 update OBS-URL: https://build.opensuse.org/request/show/259832 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-async?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
2f1073e5cc
commit
91e03d1239
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:41ddfe012d98f3ef101651fb529753bca5bb4c804f03f9cfafc5d0cbe50224c2
|
||||
size 8349
|
3
async-2.0.1.5.tar.gz
Normal file
3
async-2.0.1.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cd13ac558f4f63e567100805770648e89307a3210852b17038c9be4fcc3aa83c
|
||||
size 8350
|
@@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 9 20:19:55 UTC 2014 - peter.trommler@ohm-hochschule.de
|
||||
|
||||
- update to 2.0.1.5
|
||||
* update dependency for ghc 7.8
|
||||
* for Haskell Platform 2014.2.0.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 1 17:32:19 UTC 2014 - peter.trommler@ohm-hochschule.de
|
||||
|
||||
- regenerate spec file with cabal-rpm 0.8.6
|
||||
* require exact version of ghc-compiler
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 23 00:06:34 UTC 2014 - peter.trommler@ohm-hochschule.de
|
||||
|
||||
|
@@ -1,8 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc-async
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 Peter Trommler, peter.trommler@ohm-hochschule.de
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,40 +18,51 @@
|
||||
|
||||
%global pkg_name async
|
||||
|
||||
%global common_summary Haskell library to run IO operations asynchronously
|
||||
|
||||
%global common_description This Haskell package provides a higher-level interface over threads, in which an Async a is a concurrent thread that will eventually deliver a value of type a. The package provides ways to create Async computations, wait for their results, and cancel them.
|
||||
|
||||
Name: ghc-async
|
||||
Version: 2.0.1.4
|
||||
Version: 2.0.1.5
|
||||
Release: 0
|
||||
Summary: %{common_summary}
|
||||
Summary: Run IO operations asynchronously and wait for their results
|
||||
License: BSD-3-Clause
|
||||
Group: System/Libraries
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# BEGIN cabal2spec
|
||||
Url: http://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-stm-devel
|
||||
# END cabal2spec
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
This package provides a higher-level interface over threads, in which an @Async
|
||||
a@ is a concurrent thread that will eventually deliver a value of type @a@.
|
||||
The package provides ways to create @Async@ computations, wait for their
|
||||
results, and cancel them.
|
||||
|
||||
Using @Async@ is safer than using threads in two ways:
|
||||
|
||||
* When waiting for a thread to return a result, if the thread dies with an
|
||||
exception then the caller must either re-throw the exception ('wait') or handle
|
||||
it ('waitCatch'); the exception cannot be ignored.
|
||||
|
||||
* The API makes it possible to build a tree of threads that are automatically
|
||||
killed when their parent dies (see 'withAsync').
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Haskell %{pkg_name} library development files
|
||||
Group: Development/Languages/Other
|
||||
Requires: ghc-compiler
|
||||
Requires(post): ghc-compiler
|
||||
Requires(postun): ghc-compiler
|
||||
Group: Development/Libraries/Other
|
||||
Provides: %{name}-static = %{version}-%{release}
|
||||
Requires: ghc-compiler = %{ghc_version}
|
||||
Requires(post): ghc-compiler = %{ghc_version}
|
||||
Requires(postun): ghc-compiler = %{ghc_version}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%{common_description}
|
||||
This package contains the development files.
|
||||
This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
|
Reference in New Issue
Block a user