Accepting request 185445 from devel:languages:haskell
Update for Haskell Platform 2013.2.0.0 OBS-URL: https://build.opensuse.org/request/show/185445 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-async?expand=0&rev=3
This commit is contained in:
commit
a55d8f3c28
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:70d681084aca826c84d722320fc5d67ac6294802afbb13f8b5e8eac2bbc972e5
|
||||
size 8345
|
3
async-2.0.1.4.tar.gz
Normal file
3
async-2.0.1.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:41ddfe012d98f3ef101651fb529753bca5bb4c804f03f9cfafc5d0cbe50224c2
|
||||
size 8349
|
@ -1,7 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 6 11:19:22 UTC 2013 - peter.trommler@ohm-hochschule.de
|
||||
|
||||
- update to 2.0.1.4 from upstream
|
||||
* fix in test suite
|
||||
- version required for Haskell Platform 2013.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 6 10:53:30 UTC 2013 - peter.trommler@ohm-hochschule.de
|
||||
|
||||
- more transparent packaging (fewer macros)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 2 15:37:31 UTC 2013 - peter.trommler@ohm-hochschule.de
|
||||
|
||||
- expand macro in name tag to help source validator
|
||||
- expand macro in name tag to help source validator
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 17 14:16:42 UTC 2012 - peter.trommler@ohm-hochschule.de
|
||||
|
@ -1,6 +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
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -15,6 +16,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global pkg_name async
|
||||
|
||||
%global common_summary Haskell library to run IO operations asynchronously
|
||||
@ -22,48 +24,57 @@
|
||||
%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.3
|
||||
Release: 1
|
||||
Version: 2.0.1.4
|
||||
Release: 0
|
||||
Summary: %{common_summary}
|
||||
|
||||
Group: System/Libraries
|
||||
License: BSD-3-Clause
|
||||
Group: System/Libraries
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# BEGIN cabal2spec
|
||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||
Url: http://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
ExclusiveArch: %{ghc_arches} %{ix86} x86_64
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-stm-devel
|
||||
# END cabal2spec
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
|
||||
%package devel
|
||||
Summary: Haskell %{pkg_name} library development files
|
||||
Group: Development/Languages/Other
|
||||
Requires: ghc-compiler
|
||||
Requires(post): ghc-compiler
|
||||
Requires(postun): ghc-compiler
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%{common_description}
|
||||
This package contains the development files.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
||||
|
||||
%install
|
||||
%ghc_lib_install
|
||||
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
# devel subpackage
|
||||
%ghc_devel_package
|
||||
%postun devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
%ghc_devel_description
|
||||
|
||||
|
||||
%ghc_devel_post_postun
|
||||
|
||||
|
||||
%ghc_files LICENSE
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user