Accepting request 432753 from devel:languages:haskell:lts:7

version / revision update

OBS-URL: https://build.opensuse.org/request/show/432753
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-http-client-tls?expand=0&rev=9
This commit is contained in:
Peter Simons 2016-10-03 08:21:58 +00:00 committed by Git OBS Bridge
parent 7ca8636a65
commit 1aa8edfae0
3 changed files with 47 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 20 10:06:14 UTC 2016 - psimons@suse.com
- Update to version 0.2.4.1 revision 1 with cabal2obs.
-------------------------------------------------------------------
Sun Jul 10 17:22:49 UTC 2016 - psimons@suse.com

View File

@ -23,11 +23,11 @@ Version: 0.2.4.1
Release: 0
Summary: Http-client backend using the connection package and tls library
License: MIT
Group: System/Libraries
Group: Development/Languages/Other
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
# Begin cabal-rpm deps:
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-connection-devel
BuildRequires: ghc-data-default-class-devel
@ -40,7 +40,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ghc-hspec-devel
BuildRequires: ghc-http-types-devel
%endif
# End cabal-rpm deps
%description
Hackage documentation generation is not reliable. For up to date documentation,
@ -60,21 +59,16 @@ files.
%prep
%setup -q -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
%install
%ghc_lib_install
%check
%if %{with tests}
%{cabal} test
%endif
%cabal_test
%post devel
%ghc_pkg_recache
@ -88,6 +82,5 @@ files.
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%doc ChangeLog.md README.md
%changelog

38
http-client-tls.cabal Normal file
View File

@ -0,0 +1,38 @@
name: http-client-tls
version: 0.2.4.1
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: <https://www.stackage.org/package/http-client-tls>.
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.3.5 && <0.5
, connection >= 0.2.2
, network
, tls >= 1.2
, bytestring
default-language: Haskell2010
test-suite spec
main-is: Spec.hs
type: exitcode-stdio-1.0
hs-source-dirs: test
default-language: Haskell2010
build-depends: base
, hspec
, http-client
, http-client-tls
, http-types