refresh to cabal-rpm-0.13

This commit is contained in:
Jens Petersen 2019-02-17 22:45:15 +08:00
parent 3d191b454f
commit 803b498563
2 changed files with 101 additions and 88 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-conduit
@ -8,17 +8,19 @@
Name: ghc-%{pkg_name}
Version: 2.3.2
Release: 4%{?dist}
Release: 5%{?dist}
Summary: HTTP client package with conduit interface and HTTPS support
License: BSD
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-aeson-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-conduit-devel
@ -78,16 +80,22 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
cp -p %{SOURCE1} %{pkg_name}.cabal
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
@ -103,7 +111,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
%files -f %{name}.files
# Begin cabal-rpm files:
%license LICENSE
# End cabal-rpm files
%files devel -f %{name}-devel.files
@ -111,6 +121,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
%changelog
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 2.3.2-5
- refresh to cabal-rpm-0.13
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -1,84 +1,84 @@
name: http-conduit
version: 2.3.2
x-revision: 1
license: BSD3
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>
maintainer: Michael Snoyman <michael@snoyman.com>
synopsis: HTTP client package with conduit interface and HTTPS support.
description: Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/http-conduit>.
category: Web, Conduit
stability: Stable
cabal-version: >= 1.8
build-type: Simple
homepage: http://www.yesodweb.com/book/http-conduit
extra-source-files: test/main.hs
, test/CookieTest.hs
, multipart-example.bin
, nyan.gif
, certificate.pem
, key.pem
, README.md
, ChangeLog.md
library
build-depends: base >= 4 && < 5
, aeson >= 0.8
, 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.6
, http-client-tls >= 0.3 && < 0.4
, mtl
, unliftio-core
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
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
, connection >= 0.2
, warp-tls
, time
, blaze-builder
, bytestring
, text
, transformers
, conduit >= 1.1
, utf8-string
, case-insensitive
, unliftio
, network
, wai >= 3.0 && < 3.3
, warp >= 3.0.0.2 && < 3.3
, wai-conduit
, http-types
, cookie
, http-client
, http-conduit
, conduit-extra
, streaming-commons
, aeson
, temporary
, resourcet
source-repository head
type: git
location: git://github.com/snoyberg/http-client.git
name: http-conduit
version: 2.3.2
x-revision: 1
license: BSD3
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>
maintainer: Michael Snoyman <michael@snoyman.com>
synopsis: HTTP client package with conduit interface and HTTPS support.
description: Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/http-conduit>.
category: Web, Conduit
stability: Stable
cabal-version: >= 1.8
build-type: Simple
homepage: http://www.yesodweb.com/book/http-conduit
extra-source-files: test/main.hs
, test/CookieTest.hs
, multipart-example.bin
, nyan.gif
, certificate.pem
, key.pem
, README.md
, ChangeLog.md
library
build-depends: base >= 4 && < 5
, aeson >= 0.8
, 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.6
, http-client-tls >= 0.3 && < 0.4
, mtl
, unliftio-core
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
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
, connection >= 0.2
, warp-tls
, time
, blaze-builder
, bytestring
, text
, transformers
, conduit >= 1.1
, utf8-string
, case-insensitive
, unliftio
, network
, wai >= 3.0 && < 3.3
, warp >= 3.0.0.2 && < 3.3
, wai-conduit
, http-types
, cookie
, http-client
, http-conduit
, conduit-extra
, streaming-commons
, aeson
, temporary
, resourcet
source-repository head
type: git
location: git://github.com/snoyberg/http-client.git