Accepting request 650507 from devel:languages:haskell
version update OBS-URL: https://build.opensuse.org/request/show/650507 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-network?expand=0&rev=18
This commit is contained in:
commit
5855df36d5
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 19 16:02:57 UTC 2018 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update network to version 2.8.0.0.
|
||||||
|
## Version 2.8.0.0
|
||||||
|
|
||||||
|
* Breaking change: PortNumber originally contained Word32 in network
|
||||||
|
byte order and used "deriving Ord". This results in strange behavior
|
||||||
|
on the Ord instance. Now PortNumber holds Word32 in host byte order.
|
||||||
|
[#347](https://github.com/haskell/network/pull/347)
|
||||||
|
* Breaking change: stopping the export of the PortNum constructor in
|
||||||
|
PortNumber.
|
||||||
|
* Use bytestring == 0.10.* only.
|
||||||
|
* Use base >= 4.7 && < 5.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 4 09:42:52 UTC 2018 - psimons@suse.com
|
Thu Oct 4 09:42:52 UTC 2018 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -19,14 +19,13 @@
|
|||||||
%global pkg_name network
|
%global pkg_name network
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 2.7.0.2
|
Version: 2.8.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Low-level networking interface
|
Summary: Low-level networking interface
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Libraries/Haskell
|
Group: Development/Libraries/Haskell
|
||||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
@ -60,7 +59,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6e0b1d86a3377512d8169865ad0a66e8092691fa460993ed7fe1057e3e674dbb
|
|
||||||
size 124420
|
|
3
network-2.8.0.0.tar.gz
Normal file
3
network-2.8.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c8905268b7e3b4cf624a40245bf11b35274a6dd836a5d4d531b5760075645303
|
||||||
|
size 124926
|
106
network.cabal
106
network.cabal
@ -1,106 +0,0 @@
|
|||||||
name: network
|
|
||||||
version: 2.7.0.2
|
|
||||||
x-revision: 2
|
|
||||||
license: BSD3
|
|
||||||
license-file: LICENSE
|
|
||||||
maintainer: Kazu Yamamoto, Evan Borden
|
|
||||||
synopsis: Low-level networking interface
|
|
||||||
description:
|
|
||||||
This package provides a low-level networking interface.
|
|
||||||
.
|
|
||||||
In network-2.6 the @Network.URI@ module was split off into its own
|
|
||||||
package, network-uri-2.6. If you're using the @Network.URI@ module
|
|
||||||
you can automatically get it from the right package by adding this
|
|
||||||
to your .cabal file:
|
|
||||||
.
|
|
||||||
> library
|
|
||||||
> build-depends: network-uri-flag
|
|
||||||
category: Network
|
|
||||||
build-type: Configure
|
|
||||||
cabal-version: >=1.8
|
|
||||||
extra-tmp-files:
|
|
||||||
config.log config.status autom4te.cache network.buildinfo
|
|
||||||
include/HsNetworkConfig.h
|
|
||||||
extra-source-files:
|
|
||||||
README.md CHANGELOG.md
|
|
||||||
examples/*.hs tests/*.hs config.guess config.sub install-sh
|
|
||||||
configure.ac configure network.buildinfo.in
|
|
||||||
include/HsNetworkConfig.h.in include/HsNet.h include/HsNetDef.h
|
|
||||||
-- C sources only used on some systems
|
|
||||||
cbits/ancilData.c cbits/asyncAccept.c cbits/initWinSock.c
|
|
||||||
cbits/winSockErr.c
|
|
||||||
homepage: https://github.com/haskell/network
|
|
||||||
bug-reports: https://github.com/haskell/network/issues
|
|
||||||
tested-with: GHC == 7.4.2
|
|
||||||
, GHC == 7.6.3
|
|
||||||
, GHC == 7.8.4
|
|
||||||
, GHC == 7.10.3
|
|
||||||
, GHC == 8.0.2
|
|
||||||
, GHC == 8.2.2
|
|
||||||
|
|
||||||
library
|
|
||||||
exposed-modules:
|
|
||||||
Network
|
|
||||||
Network.BSD
|
|
||||||
Network.Socket
|
|
||||||
Network.Socket.ByteString
|
|
||||||
Network.Socket.ByteString.Lazy
|
|
||||||
Network.Socket.Internal
|
|
||||||
other-modules:
|
|
||||||
Network.Socket.ByteString.Internal
|
|
||||||
Network.Socket.Types
|
|
||||||
|
|
||||||
if !os(windows)
|
|
||||||
other-modules:
|
|
||||||
Network.Socket.ByteString.IOVec
|
|
||||||
Network.Socket.ByteString.Lazy.Posix
|
|
||||||
Network.Socket.ByteString.MsgHdr
|
|
||||||
if os(windows)
|
|
||||||
other-modules:
|
|
||||||
Network.Socket.ByteString.Lazy.Windows
|
|
||||||
|
|
||||||
build-depends:
|
|
||||||
base >= 4.7 && < 5,
|
|
||||||
bytestring == 0.10.*
|
|
||||||
|
|
||||||
if !os(windows)
|
|
||||||
build-depends:
|
|
||||||
unix >= 2
|
|
||||||
|
|
||||||
extensions:
|
|
||||||
CPP, DeriveDataTypeable, ForeignFunctionInterface, TypeSynonymInstances
|
|
||||||
include-dirs: include
|
|
||||||
includes: HsNet.h HsNetDef.h
|
|
||||||
install-includes: HsNet.h HsNetDef.h
|
|
||||||
c-sources: cbits/HsNet.c
|
|
||||||
ghc-options: -Wall -fwarn-tabs
|
|
||||||
|
|
||||||
test-suite spec
|
|
||||||
hs-source-dirs: tests
|
|
||||||
main-is: Spec.hs
|
|
||||||
other-modules: RegressionSpec
|
|
||||||
SimpleSpec
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
ghc-options: -Wall -threaded
|
|
||||||
build-depends:
|
|
||||||
base < 5,
|
|
||||||
bytestring,
|
|
||||||
directory,
|
|
||||||
HUnit,
|
|
||||||
network,
|
|
||||||
hspec
|
|
||||||
|
|
||||||
test-suite doctest
|
|
||||||
hs-source-dirs: tests
|
|
||||||
main-is: doctests.hs
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
|
|
||||||
build-depends:
|
|
||||||
base < 5,
|
|
||||||
doctest >= 0.10.1
|
|
||||||
|
|
||||||
ghc-options: -Wall
|
|
||||||
|
|
||||||
source-repository head
|
|
||||||
type: git
|
|
||||||
location: git://github.com/haskell/network.git
|
|
Loading…
Reference in New Issue
Block a user