Accepting request 442843 from devel:languages:haskell

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/442843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-async?expand=0&rev=11
This commit is contained in:
2016-12-06 13:24:08 +00:00
committed by Git OBS Bridge
4 changed files with 11 additions and 14 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93c37611f9c68b5cdc8cd9960ae77a7fbc25da83cae90137ef1378d857f22c2f
size 9293

3
async-2.1.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24134b36921f9874abb73be90886b4c23a67a9b4990f2d8e32d08dbfa5f74f90
size 10565

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 22 16:06:37 UTC 2016 - psimons@suse.com
- Update to version 2.1.1 with cabal2obs.
-------------------------------------------------------------------
Sun Jul 10 17:18:01 UTC 2016 - psimons@suse.com

View File

@@ -19,16 +19,15 @@
%global pkg_name async
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 2.1.0
Version: 2.1.1
Release: 0
Summary: Run IO operations asynchronously and wait for their results
License: BSD-3-Clause
Group: System/Libraries
Group: Development/Languages/Other
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-stm-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %{with tests}
@@ -36,7 +35,6 @@ BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-test-framework-devel
BuildRequires: ghc-test-framework-hunit-devel
%endif
# End cabal-rpm deps
%description
This package provides a higher-level interface over threads, in which an 'Async
@@ -67,20 +65,14 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%install
%ghc_lib_install
%check
%if %{with tests}
%{cabal} test
%endif
%cabal_test
%post devel
%ghc_pkg_recache