parent
bf3970c96c
commit
42c0d2dd90
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/async-2.0.1.4.tar.gz
|
||||
/async-2.0.1.5.tar.gz
|
||||
/async-2.0.2.tar.gz
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
# part of Haskell Platform
|
||||
Version: 2.0.1.5
|
||||
Release: 3%{?dist}
|
||||
Version: 2.0.2
|
||||
Release: 1%{?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,6 +64,8 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
%install
|
||||
%ghc_lib_install
|
||||
|
||||
rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
|
||||
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
@ -80,13 +82,16 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
|
||||
%files -f %{name}.files
|
||||
%doc LICENSE
|
||||
%license LICENSE
|
||||
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jun 7 2016 Jens Petersen <petersen@redhat.com> - 2.0.2-1
|
||||
- update to 2.0.2
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1.5-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user