SHA256
1
0
forked from pool/ghc-HTTP

osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-HTTP revision:6, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-HTTP?expand=0&rev=63
This commit is contained in:
2019-03-19 02:02:05 +00:00
committed by Git OBS Bridge
parent 2affffaa5e
commit 3a6051fb37
5 changed files with 12 additions and 194 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package ghc-HTTP
#
# 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
@@ -19,14 +19,13 @@
%global pkg_name HTTP
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 4000.3.12
Version: 4000.3.13
Release: 0
Summary: A library for client-side HTTP
License: BSD-3-Clause
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/2.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-array-devel
BuildRequires: ghc-bytestring-devel
@@ -38,18 +37,12 @@ BuildRequires: ghc-rpm-macros
BuildRequires: ghc-time-devel
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-case-insensitive-devel
BuildRequires: ghc-conduit-devel
BuildRequires: ghc-conduit-extra-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-http-types-devel
BuildRequires: ghc-httpd-shed-devel
BuildRequires: ghc-pureMD5-devel
BuildRequires: ghc-split-devel
BuildRequires: ghc-test-framework-devel
BuildRequires: ghc-test-framework-hunit-devel
BuildRequires: ghc-wai-devel
BuildRequires: ghc-warp-devel
%endif
%description
@@ -103,7 +96,6 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build