diff --git a/.gitignore b/.gitignore index 119d84c..74f3a19 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /http-conduit-2.3.7.3.tar.gz /http-conduit-2.3.7.4.tar.gz /http-conduit-2.3.8.tar.gz +/http-conduit-2.3.8.1.tar.gz diff --git a/ghc-http-conduit.spec b/ghc-http-conduit.spec index 14a95f4..51cfbe5 100644 --- a/ghc-http-conduit.spec +++ b/ghc-http-conduit.spec @@ -7,7 +7,7 @@ # testsuite missing deps: wai-conduit Name: ghc-%{pkg_name} -Version: 2.3.8 +Version: 2.3.8.1 Release: %autorelease Summary: HTTP client package with conduit interface and HTTPS support @@ -15,9 +15,11 @@ License: BSD-3-Clause 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-aeson-devel @@ -98,6 +100,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 diff --git a/http-conduit-2.3.8.1.cabal b/http-conduit-2.3.8.1.cabal new file mode 100644 index 0000000..ce53a5e --- /dev/null +++ b/http-conduit-2.3.8.1.cabal @@ -0,0 +1,96 @@ +cabal-version: >= 1.10 +name: http-conduit +version: 2.3.8.1 +x-revision: 1 +license: BSD3 +license-file: LICENSE +author: Michael Snoyman +maintainer: Michael Snoyman +synopsis: HTTP client package with conduit interface and HTTPS support. +description: Hackage documentation generation is not reliable. For up to date documentation, please see: . +category: Web, Conduit +stability: Stable +build-type: Simple +homepage: https://github.com/snoyberg/http-client +extra-source-files: test/main.hs + , test/CookieTest.hs + , multipart-example.bin + , nyan.gif + , certificate.pem + , key.pem + , README.md + , ChangeLog.md + +flag aeson + manual: True + description: Enable the dependency on aeson + default: True + +library + default-language: Haskell2010 + build-depends: base >= 4.10 && < 5 + , attoparsec + , bytestring >= 0.9.1.4 + , transformers >= 0.2 + , resourcet >= 1.1 + , conduit >= 1.2 + , conduit-extra >= 1.1 + , http-types >= 0.7 + , http-client >= 0.5.13 && < 0.8 + , http-client-tls >= 0.3 && < 0.4 + , mtl + , unliftio-core + + if flag(aeson) + build-depends: aeson >= 0.8 && < 2.2 + + if !impl(ghc>=7.9) + build-depends: void >= 0.5.5 + exposed-modules: Network.HTTP.Conduit + Network.HTTP.Client.Conduit + Network.HTTP.Simple + ghc-options: -Wall + +test-suite test + default-language: Haskell2010 + main-is: main.hs + other-modules: CookieTest + type: exitcode-stdio-1.0 + hs-source-dirs: test + + ghc-options: -Wall + cpp-options: -DDEBUG + build-depends: base >= 4 && < 5 + , HUnit + , hspec >= 1.3 + , data-default-class + , warp-tls + , tls < 1.5 || >= 1.5.2 + , time + , blaze-builder + , bytestring + , text + , transformers + , conduit >= 1.1 + , utf8-string + , case-insensitive + , unliftio + , wai >= 3.0 && < 3.3 + , warp >= 3.0.0.2 && < 3.4 + , wai-conduit + , http-types + , cookie + , http-client + , http-conduit + , conduit-extra + , streaming-commons + , temporary + , resourcet + , network + + if flag(aeson) + build-depends: aeson + +source-repository head + type: git + location: git://github.com/snoyberg/http-client.git diff --git a/sources b/sources index 2d06d4d..c1527d1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (http-conduit-2.3.8.tar.gz) = 44c337f1a0a0ec74a5d6e4e28a3aa5a32609c3a4da9424e99aedc2a8db67fc4684ef10cf82d6bda0761c7ffba4f0222e683946ab6dd8de1ab8225a40cc14cf66 +SHA512 (http-conduit-2.3.8.1.tar.gz) = 959f9c0ae32b38d69002d7ac1550a02e9475bed4e756250e0313b7bb822ed9a7ce7e194f2ee57c38122600baf5e4741e32a30a123829ae28fe98bd39b969397d