update to 0.7.13.1
This commit is contained in:
parent
5840b05656
commit
802f7cb588
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@
|
||||
/http-client-0.5.14.tar.gz
|
||||
/http-client-0.6.4.tar.gz
|
||||
/http-client-0.6.4.1.tar.gz
|
||||
/http-client-0.7.13.1.tar.gz
|
||||
|
@ -1,4 +1,4 @@
|
||||
# generated by cabal-rpm-2.0.9
|
||||
# generated by cabal-rpm-2.1.0
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||
|
||||
%global pkg_name http-client
|
||||
@ -8,8 +8,8 @@
|
||||
%bcond_with tests
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.6.4.1
|
||||
Release: 9%{?dist}
|
||||
Version: 0.7.13.1
|
||||
Release: 1%{?dist}
|
||||
Summary: A basic HTTP client engine
|
||||
|
||||
# Network/HTTP/Proxy.hs is BSD
|
||||
@ -17,13 +17,41 @@ License: MIT and BSD
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
# Begin cabal-rpm sources:
|
||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
||||
# End cabal-rpm sources
|
||||
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-array-devel
|
||||
BuildRequires: ghc-async-devel
|
||||
BuildRequires: ghc-base-devel
|
||||
BuildRequires: ghc-base64-bytestring-devel
|
||||
BuildRequires: ghc-blaze-builder-devel
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-case-insensitive-devel
|
||||
BuildRequires: ghc-containers-devel
|
||||
BuildRequires: ghc-cookie-devel
|
||||
BuildRequires: ghc-deepseq-devel
|
||||
BuildRequires: ghc-exceptions-devel
|
||||
BuildRequires: ghc-filepath-devel
|
||||
BuildRequires: ghc-http-types-devel
|
||||
BuildRequires: ghc-iproute-devel
|
||||
BuildRequires: ghc-mime-types-devel
|
||||
BuildRequires: ghc-network-devel
|
||||
BuildRequires: ghc-network-uri-devel
|
||||
BuildRequires: ghc-random-devel
|
||||
BuildRequires: ghc-stm-devel
|
||||
BuildRequires: ghc-streaming-commons-devel
|
||||
BuildRequires: ghc-text-devel
|
||||
BuildRequires: ghc-time-devel
|
||||
BuildRequires: ghc-transformers-devel
|
||||
%if %{with ghc_prof}
|
||||
BuildRequires: ghc-array-prof
|
||||
BuildRequires: ghc-async-prof
|
||||
BuildRequires: ghc-base-prof
|
||||
BuildRequires: ghc-base64-bytestring-prof
|
||||
BuildRequires: ghc-blaze-builder-prof
|
||||
BuildRequires: ghc-bytestring-prof
|
||||
BuildRequires: ghc-case-insensitive-prof
|
||||
@ -33,7 +61,7 @@ BuildRequires: ghc-deepseq-prof
|
||||
BuildRequires: ghc-exceptions-prof
|
||||
BuildRequires: ghc-filepath-prof
|
||||
BuildRequires: ghc-http-types-prof
|
||||
BuildRequires: ghc-memory-prof
|
||||
BuildRequires: ghc-iproute-prof
|
||||
BuildRequires: ghc-mime-types-prof
|
||||
BuildRequires: ghc-network-prof
|
||||
BuildRequires: ghc-network-uri-prof
|
||||
@ -43,10 +71,11 @@ BuildRequires: ghc-streaming-commons-prof
|
||||
BuildRequires: ghc-text-prof
|
||||
BuildRequires: ghc-time-prof
|
||||
BuildRequires: ghc-transformers-prof
|
||||
%endif
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-async-devel
|
||||
BuildRequires: ghc-directory-devel
|
||||
BuildRequires: ghc-hspec-devel
|
||||
BuildRequires: ghc-hspec-discover-devel
|
||||
BuildRequires: ghc-monad-control-devel
|
||||
BuildRequires: ghc-zlib-devel
|
||||
%endif
|
||||
@ -97,6 +126,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%setup -q -n %{pkgver}
|
||||
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
|
||||
# End cabal-rpm setup
|
||||
|
||||
|
||||
@ -140,6 +170,10 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 0.7.13.1-1
|
||||
- https://hackage.haskell.org/package/http-client-0.7.13.1/changelog
|
||||
- refresh to cabal-rpm-2.1.0 with SPDX migration
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4.1-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
|
148
http-client-0.7.13.1.cabal
Normal file
148
http-client-0.7.13.1.cabal
Normal file
@ -0,0 +1,148 @@
|
||||
name: http-client
|
||||
version: 0.7.13.1
|
||||
x-revision: 1
|
||||
synopsis: An HTTP client engine
|
||||
description: Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/http-client>.
|
||||
homepage: https://github.com/snoyberg/http-client
|
||||
license: MIT
|
||||
license-file: LICENSE
|
||||
author: Michael Snoyman
|
||||
maintainer: michael@snoyman.com
|
||||
category: Network
|
||||
build-type: Simple
|
||||
extra-source-files: README.md ChangeLog.md
|
||||
cabal-version: >=1.10
|
||||
|
||||
flag network-uri
|
||||
description: Get Network.URI from the network-uri package
|
||||
default: True
|
||||
|
||||
library
|
||||
hs-source-dirs: ., publicsuffixlist
|
||||
exposed-modules: Network.HTTP.Client
|
||||
Network.HTTP.Client.MultipartFormData
|
||||
Network.HTTP.Client.Internal
|
||||
other-modules: Network.HTTP.Client.Body
|
||||
Network.HTTP.Client.Connection
|
||||
Network.HTTP.Client.Cookies
|
||||
Network.HTTP.Client.Core
|
||||
Network.HTTP.Client.Headers
|
||||
Network.HTTP.Client.Manager
|
||||
Network.HTTP.Client.Request
|
||||
Network.HTTP.Client.Response
|
||||
Network.HTTP.Client.Types
|
||||
Network.HTTP.Client.Util
|
||||
Network.HTTP.Proxy
|
||||
Network.PublicSuffixList.Lookup
|
||||
Network.PublicSuffixList.Types
|
||||
Network.PublicSuffixList.Serialize
|
||||
Network.PublicSuffixList.DataStructure
|
||||
Data.KeyedPool
|
||||
build-depends: base >= 4.10 && < 5
|
||||
, bytestring >= 0.10
|
||||
, text >= 0.11
|
||||
, http-types >= 0.8
|
||||
, blaze-builder >= 0.3
|
||||
, time >= 1.2
|
||||
, network >= 2.4
|
||||
, streaming-commons >= 0.1.0.2 && < 0.3
|
||||
, containers >= 0.5
|
||||
, transformers
|
||||
, deepseq >= 1.3 && <1.5
|
||||
, case-insensitive >= 1.0
|
||||
, base64-bytestring >= 1.0
|
||||
, cookie
|
||||
, exceptions >= 0.4
|
||||
, array
|
||||
, random
|
||||
, filepath
|
||||
, mime-types
|
||||
, ghc-prim
|
||||
, stm >= 2.3
|
||||
, iproute >= 1.7.5
|
||||
, async >= 2.0
|
||||
if flag(network-uri)
|
||||
build-depends: network >= 2.6, network-uri >= 2.6
|
||||
else
|
||||
build-depends: network < 2.6
|
||||
|
||||
if !impl(ghc>=8.0)
|
||||
build-depends: semigroups >= 0.16.1
|
||||
|
||||
-- See build failure at https://travis-ci.org/snoyberg/http-client/jobs/359573631
|
||||
if impl(ghc < 7.10)
|
||||
-- Disable building with GHC before 8.0.2.
|
||||
-- Due to a cabal bug, do not use buildable: False,
|
||||
-- but instead give it an impossible constraint.
|
||||
-- See: https://github.com/haskell-infra/hackage-trustees/issues/165
|
||||
build-depends: unsupported-ghc-version > 1 && < 1
|
||||
|
||||
|
||||
if os(mingw32)
|
||||
build-depends: Win32, safe
|
||||
|
||||
default-language: Haskell2010
|
||||
|
||||
test-suite spec
|
||||
main-is: Spec.hs
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: test
|
||||
default-language: Haskell2010
|
||||
other-modules: Network.HTTP.ClientSpec
|
||||
build-tool-depends: hspec-discover:hspec-discover
|
||||
build-depends: base
|
||||
, http-client
|
||||
, hspec
|
||||
, monad-control
|
||||
, bytestring
|
||||
, text
|
||||
, http-types
|
||||
, blaze-builder
|
||||
, time
|
||||
, network
|
||||
, containers
|
||||
, transformers
|
||||
, deepseq
|
||||
, case-insensitive
|
||||
, zlib
|
||||
, async
|
||||
, streaming-commons >= 0.1.1
|
||||
|
||||
|
||||
test-suite spec-nonet
|
||||
main-is: Spec.hs
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: test-nonet
|
||||
default-language: Haskell2010
|
||||
ghc-options: -threaded
|
||||
if os(windows)
|
||||
cpp-options: -DWINDOWS
|
||||
other-modules: Network.HTTP.ClientSpec
|
||||
Network.HTTP.Client.ResponseSpec
|
||||
Network.HTTP.Client.BodySpec
|
||||
Network.HTTP.Client.HeadersSpec
|
||||
Network.HTTP.Client.RequestSpec
|
||||
Network.HTTP.Client.RequestBodySpec
|
||||
Network.HTTP.Client.CookieSpec
|
||||
Network.HTTP.Client.ConnectionSpec
|
||||
build-tool-depends: hspec-discover:hspec-discover
|
||||
build-depends: base
|
||||
, http-client
|
||||
, hspec
|
||||
, monad-control
|
||||
, bytestring
|
||||
, cookie
|
||||
, text
|
||||
, http-types
|
||||
, blaze-builder
|
||||
, time
|
||||
, network
|
||||
, network-uri
|
||||
, containers
|
||||
, transformers
|
||||
, deepseq
|
||||
, case-insensitive
|
||||
, zlib
|
||||
, async
|
||||
, streaming-commons >= 0.1.1
|
||||
, directory
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (http-client-0.6.4.1.tar.gz) = b9595ebf3cb48c5ed288934976b78270a3092a35ae083853684c848301ee88a18e0e41534180033df071ab87dc9f9cbab99da37cbc74d538472409c13dcfce7d
|
||||
SHA512 (http-client-0.7.13.1.tar.gz) = d88f4ec8fb48f7de4db62ea8ed39bd43112b86fd1b6f695d92f16d22063d71f94f9dba1e114df60fb7eb03c3ced1e23b0f03a3398c0221c02812087865fd0717
|
||||
|
Loading…
Reference in New Issue
Block a user