diff --git a/ghc-http-client.changes b/ghc-http-client.changes index b5b3224..bc5626c 100644 --- a/ghc-http-client.changes +++ b/ghc-http-client.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Oct 30 08:14:49 UTC 2023 - Peter Simons + +- Update http-client to version 0.7.15. + ## 0.7.15 + + * Adds `shouldStripHeaderOnRedirectIfOnDifferentHostOnly` option to `Request` [#520](https://github.com/snoyberg/http-client/pull/520) + ------------------------------------------------------------------- Fri Oct 13 17:29:57 UTC 2023 - Peter Simons diff --git a/ghc-http-client.spec b/ghc-http-client.spec index 29b86fd..336dde5 100644 --- a/ghc-http-client.spec +++ b/ghc-http-client.spec @@ -20,13 +20,12 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.7.14 +Version: 0.7.15 Release: 0 Summary: An HTTP client engine License: MIT 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/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-array-devel BuildRequires: ghc-array-prof @@ -119,7 +118,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep %autosetup -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build diff --git a/http-client-0.7.14.tar.gz b/http-client-0.7.14.tar.gz deleted file mode 100644 index 8404bf4..0000000 --- a/http-client-0.7.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:222e36f880170e6c68960780941613aae68b3c42675341cf8d3b5a5f80fff941 -size 95406 diff --git a/http-client-0.7.15.tar.gz b/http-client-0.7.15.tar.gz new file mode 100644 index 0000000..f7a109b --- /dev/null +++ b/http-client-0.7.15.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:953ad87c1322c05efbf14d08dc13fe167224c324b5f66238a8d79897dac55724 +size 96060 diff --git a/http-client.cabal b/http-client.cabal deleted file mode 100644 index 5e0a9eb..0000000 --- a/http-client.cabal +++ /dev/null @@ -1,148 +0,0 @@ -name: http-client -version: 0.7.14 -x-revision: 1 -synopsis: An HTTP client engine -description: Hackage documentation generation is not reliable. For up to date documentation, please see: . -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.6 - , 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