|
|
|
@ -6,8 +6,8 @@
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
# part of Haskell Platform
|
|
|
|
|
Version: 2.0.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 2.0.1.5
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Run IO operations asynchronously and wait for their results
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
@ -27,11 +27,11 @@ BuildRequires: ghc-test-framework-hunit-devel
|
|
|
|
|
|
|
|
|
|
%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,
|
|
|
|
|
"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:
|
|
|
|
|
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
|
|
|
|
@ -64,8 +64,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
%install
|
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%if %{with tests}
|
|
|
|
@ -82,16 +80,13 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel -f %{name}-devel.files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Sep 29 2015 Jens Petersen <petersen@redhat.com> - 2.0.2-1
|
|
|
|
|
- update to 2.0.2
|
|
|
|
|
|
|
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1.5-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|