From fc8a69c4334a979dc70dffbc73017c82cc77427e702a54c95416544fc994cdfe Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 12 Feb 2019 02:01:44 +0000 Subject: [PATCH 1/3] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-http-client-tls revision:4, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-http-client-tls?expand=0&rev=41 --- ghc-http-client-tls.spec | 2 ++ http-client-tls.cabal | 59 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 http-client-tls.cabal diff --git a/ghc-http-client-tls.spec b/ghc-http-client-tls.spec index 50f83b3..06230ea 100644 --- a/ghc-http-client-tls.spec +++ b/ghc-http-client-tls.spec @@ -26,6 +26,7 @@ License: MIT Group: Development/Libraries/Haskell 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-bytestring-devel BuildRequires: ghc-case-insensitive-devel @@ -65,6 +66,7 @@ files. %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build diff --git a/http-client-tls.cabal b/http-client-tls.cabal new file mode 100644 index 0000000..d051a87 --- /dev/null +++ b/http-client-tls.cabal @@ -0,0 +1,59 @@ +name: http-client-tls +version: 0.3.5.3 +x-revision: 1 +synopsis: http-client backend using the connection package and tls library +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 +cabal-version: >=1.10 +extra-source-files: README.md + ChangeLog.md + +library + exposed-modules: Network.HTTP.Client.TLS + other-extensions: ScopedTypeVariables + build-depends: base >= 4 && < 5 + , data-default-class + , http-client >= 0.5.0 + , connection >= 0.2.5 + , network >= 2.6 + , tls >= 1.2 + , bytestring + , case-insensitive + , transformers + , http-types + , cryptonite + , memory + , exceptions + , containers + , text + , network-uri >= 2.6 + default-language: Haskell2010 + ghc-options: -Wall + +test-suite spec + main-is: Spec.hs + type: exitcode-stdio-1.0 + hs-source-dirs: test + default-language: Haskell2010 + build-depends: base + , connection + , hspec + , http-client + , http-client-tls + , http-types + +benchmark benchmark + main-is: Bench.hs + type: exitcode-stdio-1.0 + hs-source-dirs: bench + default-language: Haskell2010 + build-depends: base + , gauge + , http-client + , http-client-tls From ff112bbad97565ee09e1333f0cf46be397c675a8a4dbf2dd2ce2b22974afe402 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 12 Jun 2019 01:01:36 +0000 Subject: [PATCH 2/3] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-http-client-tls revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-http-client-tls?expand=0&rev=42 --- ghc-http-client-tls.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc-http-client-tls.changes b/ghc-http-client-tls.changes index 0269868..02a5c5b 100644 --- a/ghc-http-client-tls.changes +++ b/ghc-http-client-tls.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 11 14:29:11 UTC 2019 - Peter Simons + +- Update Cabal file for more accurate build dependencies. + ------------------------------------------------------------------- Sat Oct 20 11:31:37 UTC 2018 - Peter Simons From f617af8c5bf1bbfea0a54a82c2e45b38b585edd6d62a102bc8760de748a792de Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 13 Jun 2019 01:01:57 +0000 Subject: [PATCH 3/3] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-http-client-tls revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-http-client-tls?expand=0&rev=43 --- ghc-http-client-tls.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-http-client-tls.spec b/ghc-http-client-tls.spec index 06230ea..5bcb20c 100644 --- a/ghc-http-client-tls.spec +++ b/ghc-http-client-tls.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-http-client-tls # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed