Accepting request 185450 from devel:languages:haskell

Update to Haskell Platform 2013.2.0.0 (forwarded request 185259 from ptrommler)

OBS-URL: https://build.opensuse.org/request/show/185450
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-network?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2013-08-06 04:52:05 +00:00 committed by Git OBS Bridge
commit c3c300b8ac
4 changed files with 40 additions and 22 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon May 6 17:41:10 UTC 2013 - peter.trommler@ohm-hochschule.de
- update to 2.4.1.2 from upstream
* no changelog
* see https://github.com/haskell/network for commit messages
- update needed for Haskell Platform 2013.2
- more transparent packaging (fewer macros)
-------------------------------------------------------------------
Mon Jan 7 15:22:09 UTC 2013 - peter.trommler@ohm-hochschule.de

View File

@ -1,8 +1,7 @@
#
# spec file for package ghc-network
#
# Copyright (c) 2012 Peter Trommler peter.trommler@ohm-hochschule.de
# Copyright (c) 2013 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
@ -16,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%global pkg_name network
%global common_summary Haskell Low-level networking interface library
@ -23,49 +23,58 @@
%global common_description A low-level networking interface library for Haskell.
Name: ghc-network
Version: 2.3.1.0
Release: 1
Version: 2.4.1.2
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: %{ix86} x86_64 %{ghc_arches}
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-parsec-devel
BuildRequires: ghc-rpm-macros
# 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

View File

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

3
network-2.4.1.2.tar.gz Normal file
View File

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