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:
parent
7ca8636a65
commit
1aa8edfae0
@ -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
|
Sun Jul 10 17:22:49 UTC 2016 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -23,11 +23,11 @@ Version: 0.2.4.1
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Http-client backend using the connection package and tls library
|
Summary: Http-client backend using the connection package and tls library
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System/Libraries
|
Group: Development/Languages/Other
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
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-Cabal-devel
|
||||||
# Begin cabal-rpm deps:
|
|
||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: ghc-connection-devel
|
BuildRequires: ghc-connection-devel
|
||||||
BuildRequires: ghc-data-default-class-devel
|
BuildRequires: ghc-data-default-class-devel
|
||||||
@ -40,7 +40,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
BuildRequires: ghc-hspec-devel
|
BuildRequires: ghc-hspec-devel
|
||||||
BuildRequires: ghc-http-types-devel
|
BuildRequires: ghc-http-types-devel
|
||||||
%endif
|
%endif
|
||||||
# End cabal-rpm deps
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Hackage documentation generation is not reliable. For up to date documentation,
|
Hackage documentation generation is not reliable. For up to date documentation,
|
||||||
@ -60,21 +59,16 @@ files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with tests}
|
%cabal_test
|
||||||
%{cabal} test
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
%ghc_pkg_recache
|
%ghc_pkg_recache
|
||||||
@ -88,6 +82,5 @@ files.
|
|||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc ChangeLog.md README.md
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
38
http-client-tls.cabal
Normal file
38
http-client-tls.cabal
Normal 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
|
Loading…
Reference in New Issue
Block a user