osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-network-bsd revision:12, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-network-bsd?expand=0&rev=14
This commit is contained in:
Ondřej Súkup 2021-06-22 15:19:21 +00:00 committed by Git OBS Bridge
parent 4c1b90e079
commit c233872725
3 changed files with 14 additions and 8 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jun 21 05:22:57 UTC 2021 - psimons@suse.com
- Update network-bsd to version 2.8.1.0 revision 4.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-network-bsd
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -24,7 +24,7 @@ Summary: POSIX network database (<netdb.h>) API
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/4.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-network-devel
@ -33,7 +33,7 @@ ExcludeArch: %{ix86}
%description
This package provides Haskell bindings to the the [POSIX network database
(<netdb.h>)
(netdb.h)
API](http://pubs.opengroup.org/onlinepubs/009696699/basedefs/netdb.h.html).
=== Relationship to the 'network' package
@ -47,7 +47,7 @@ This package provides the "Network.BSD" module split off from the
If in addition to the 'network''s modules also "Network.BSD" is necessary, add
'network-bsd' to your dependencies like so:
> library > build-depends: network >= 2.7 && < 3.1 > , network-bsd >= 2.7 && <
> library > build-depends: network >= 2.7 && < 3.2 > , network-bsd >= 2.7 && <
2.9
I.e. you can control the version of the 'network' package independently.

View File

@ -1,14 +1,14 @@
cabal-version: 1.12
name: network-bsd
version: 2.8.1.0
x-revision: 3
x-revision: 4
license: BSD3
license-file: LICENSE
maintainer: Kazu Yamamoto, Herbert Valerio Riedel
synopsis: POSIX network database (<netdb.h>) API
description:
This package provides Haskell bindings to the
the [POSIX network database (<netdb.h>) API](http://pubs.opengroup.org/onlinepubs/009696699/basedefs/netdb.h.html).
the [POSIX network database (netdb.h) API](http://pubs.opengroup.org/onlinepubs/009696699/basedefs/netdb.h.html).
.
=== Relationship to the @network@ package
.
@ -22,7 +22,7 @@ description:
necessary, add @network-bsd@ to your dependencies like so:
.
> library
> build-depends: network >= 2.7 && < 3.1
> build-depends: network >= 2.7 && < 3.2
> , network-bsd >= 2.7 && < 2.9
.
I.e. you can control the version of the @network@ package
@ -77,7 +77,7 @@ library
-- changes that aren't reflected in `network-bsd`'s
-- API version.
, network (>= 3.0.0.0 && < 3.0.2)
|| (>= 3.1.0.0 && < 3.1.2)
|| (>= 3.1.0.0 && < 3.2)
build-tools: hsc2hs >= 0.67 && < 0.69
ghc-options: -Wall