refresh to cabal-rpm-0.13

This commit is contained in:
Jens Petersen 2019-02-17 22:45:14 +08:00
parent 55f0b6071c
commit 883d06ed5d
2 changed files with 77 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-0.12.5
# generated by cabal-rpm-0.13
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name http-client-tls
@ -8,16 +8,19 @@
Name: ghc-%{pkg_name}
Version: 0.3.5.3
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Http-client backend using the connection package and tls library
License: MIT
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: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-case-insensitive-devel
BuildRequires: ghc-connection-devel
@ -61,15 +64,22 @@ files.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
cp -bp %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup
%build
# Begin cabal-rpm build:
%ghc_lib_build
# End cabal-rpm build
%install
# Begin cabal-rpm install
%ghc_lib_install
# End cabal-rpm install
%check
@ -85,7 +95,9 @@ files.
%files -f %{name}.files
# Begin cabal-rpm files:
%license LICENSE
# End cabal-rpm files
%files devel -f %{name}-devel.files
@ -93,6 +105,9 @@ files.
%changelog
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.3.5.3-6
- refresh to cabal-rpm-0.13
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -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: <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.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