Accepting request 1075914 from devel:languages:haskell
update for ghc-9.4.4 OBS-URL: https://build.opensuse.org/request/show/1075914 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-HTTP?expand=0&rev=37
This commit is contained in:
commit
8505cb92b4
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d6091c037871ac3d08d021c906206174567499d5a26a6cb804cf530cd590fe2d
|
||||
size 74516
|
3
HTTP-4000.4.1.tar.gz
Normal file
3
HTTP-4000.4.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:df31d8efec775124dab856d7177ddcba31be9f9e0836ebdab03d94392f2dd453
|
||||
size 74330
|
88
HTTP.cabal
88
HTTP.cabal
@ -1,7 +1,7 @@
|
||||
Name: HTTP
|
||||
Version: 4000.3.16
|
||||
x-revision: 1
|
||||
Cabal-Version: >= 1.10
|
||||
Name: HTTP
|
||||
Version: 4000.4.1
|
||||
x-revision: 2
|
||||
Build-type: Simple
|
||||
License: BSD3
|
||||
License-file: LICENSE
|
||||
@ -57,16 +57,15 @@ Description:
|
||||
|
||||
Extra-Source-Files: CHANGES
|
||||
|
||||
tested-with: GHC==9.0.1, GHC==8.10.4, GHC==8.8.3, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2, GHC==7.0.4
|
||||
tested-with:
|
||||
GHC==9.2.1, GHC==9.0.1,
|
||||
GHC==8.10.7, GHC==8.8.4, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2,
|
||||
GHC==7.10.3, GHC==7.8.4, GHC==7.6.3
|
||||
|
||||
Source-Repository head
|
||||
type: git
|
||||
location: https://github.com/haskell/HTTP.git
|
||||
|
||||
Flag mtl1
|
||||
description: Use the old mtl version 1.
|
||||
default: False
|
||||
|
||||
Flag warn-as-error
|
||||
default: False
|
||||
description: Build with warnings-as-errors
|
||||
@ -110,23 +109,26 @@ Library
|
||||
|
||||
-- note the test harness constraints should be kept in sync with these
|
||||
-- where dependencies are shared
|
||||
Build-depends: base >= 4.3.0.0 && < 4.17, parsec >= 2.0 && < 3.2
|
||||
Build-depends: array >= 0.3.0.2 && < 0.6, bytestring >= 0.9.1.5 && < 0.12
|
||||
Build-depends: time >= 1.1.2.3 && < 1.13
|
||||
build-depends:
|
||||
base >= 4.6.0.0 && < 4.19
|
||||
, array >= 0.3.0.2 && < 0.6
|
||||
, bytestring >= 0.9.1.5 && < 0.12
|
||||
, parsec >= 2.0 && < 3.2
|
||||
, time >= 1.1.2.3 && < 1.13
|
||||
, transformers >= 0.2.0.0 && < 0.7
|
||||
-- transformers-0.2.0.0 is the first to have Control.Monad.IO.Class
|
||||
-- The following dependencies are refined by flags, but they should
|
||||
-- still be mentioned here on the top-level.
|
||||
, mtl >= 2.0.0.0 && < 2.4
|
||||
, network >= 2.4 && < 3.2
|
||||
|
||||
default-language: Haskell98
|
||||
default-extensions: FlexibleInstances
|
||||
|
||||
if flag(mtl1)
|
||||
Build-depends: mtl >= 1.1.1.0 && < 1.2
|
||||
CPP-Options: -DMTL1
|
||||
else
|
||||
Build-depends: mtl >= 2.0 && < 2.3
|
||||
|
||||
if flag(network-uri)
|
||||
Build-depends: network-uri == 2.6.*, network >= 2.6 && < 3.2
|
||||
Build-depends: network-uri == 2.6.*, network >= 2.6
|
||||
else
|
||||
Build-depends: network >= 2.4 && < 2.6
|
||||
Build-depends: network < 2.6
|
||||
|
||||
if flag(warn-as-error)
|
||||
ghc-options: -Werror
|
||||
@ -147,37 +149,37 @@ Test-Suite test
|
||||
|
||||
ghc-options: -Wall
|
||||
|
||||
-- note: version constraints for dependencies shared with the library
|
||||
-- should be the same
|
||||
build-depends: HTTP,
|
||||
HUnit >= 1.2.0.1 && < 1.7,
|
||||
httpd-shed >= 0.4 && < 0.5,
|
||||
mtl >= 1.1.1.0 && < 2.3,
|
||||
bytestring >= 0.9.1.5 && < 0.12,
|
||||
deepseq >= 1.3.0.0 && < 1.5,
|
||||
pureMD5 >= 0.2.4 && < 2.2,
|
||||
base >= 4.3.0.0 && < 4.16,
|
||||
split >= 0.1.3 && < 0.3,
|
||||
test-framework >= 0.2.0 && < 0.9,
|
||||
test-framework-hunit >= 0.3.0 && <0.4
|
||||
build-depends:
|
||||
HTTP
|
||||
-- constraints inherited from HTTP
|
||||
, base
|
||||
, bytestring
|
||||
, mtl
|
||||
, network
|
||||
-- extra dependencies
|
||||
, deepseq >= 1.3.0.0 && < 1.5
|
||||
, httpd-shed >= 0.4 && < 0.5
|
||||
, HUnit >= 1.2.0.1 && < 1.7
|
||||
, pureMD5 >= 0.2.4 && < 2.2
|
||||
, split >= 0.1.3 && < 0.3
|
||||
, test-framework >= 0.2.0 && < 0.9
|
||||
, test-framework-hunit >= 0.3.0 && < 0.4
|
||||
|
||||
if flag(network-uri)
|
||||
Build-depends: network-uri == 2.6.*, network >= 2.6 && < 3.2
|
||||
Build-depends: network-uri == 2.6.*, network >= 2.6
|
||||
else
|
||||
Build-depends: network >= 2.3 && < 2.6
|
||||
Build-depends: network < 2.6
|
||||
|
||||
if flag(warp-tests)
|
||||
CPP-Options: -DWARP_TESTS
|
||||
build-depends:
|
||||
case-insensitive >= 0.4.0.1 && < 1.3,
|
||||
http-types >= 0.8.0 && < 1.0,
|
||||
wai >= 2.1.0 && < 3.3,
|
||||
warp >= 2.1.0 && < 3.4
|
||||
case-insensitive >= 0.4.0.1 && < 1.3
|
||||
, conduit >= 1.0.8 && < 1.4
|
||||
, http-types >= 0.8.0 && < 1.0
|
||||
, wai >= 2.1.0 && < 3.3
|
||||
, warp >= 2.1.0 && < 3.4
|
||||
|
||||
if flag(conduit10)
|
||||
build-depends:
|
||||
conduit >= 1.0.8 && < 1.1
|
||||
build-depends: conduit < 1.1
|
||||
else
|
||||
build-depends:
|
||||
conduit >= 1.1 && < 1.4,
|
||||
conduit-extra >= 1.1 && < 1.4
|
||||
build-depends: conduit >= 1.1, conduit-extra >= 1.1 && < 1.4
|
||||
|
@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 17:07:08 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 16 23:12:10 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update HTTP to version 4000.4.1 revision 2.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 14 21:34:43 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update HTTP to version 4000.4.1 revision 1.
|
||||
Version 4000.4.0: release 2022-02-22
|
||||
* Restrict to GHC >=7.6 and associated cleanups (Andreas Abel)
|
||||
* Drop deprecated instance Error (Andreas Abel)
|
||||
* Preparation for mtl-2.3 (Andreas Abel)
|
||||
* General tidying (Andreas Abel)
|
||||
* Support GHC 9.2 (Bodigrim)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 12 11:34:09 UTC 2021 - psimons@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc-HTTP
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,33 +17,52 @@
|
||||
|
||||
|
||||
%global pkg_name HTTP
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 4000.3.16
|
||||
Version: 4000.4.1
|
||||
Release: 0
|
||||
Summary: A library for client-side HTTP
|
||||
License: BSD-3-Clause
|
||||
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
|
||||
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-array-prof
|
||||
BuildRequires: ghc-base-devel
|
||||
BuildRequires: ghc-base-prof
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-bytestring-prof
|
||||
BuildRequires: ghc-mtl-devel
|
||||
BuildRequires: ghc-mtl-prof
|
||||
BuildRequires: ghc-network-devel
|
||||
BuildRequires: ghc-network-prof
|
||||
BuildRequires: ghc-network-uri-devel
|
||||
BuildRequires: ghc-network-uri-prof
|
||||
BuildRequires: ghc-parsec-devel
|
||||
BuildRequires: ghc-parsec-prof
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-time-devel
|
||||
BuildRequires: ghc-time-prof
|
||||
BuildRequires: ghc-transformers-devel
|
||||
BuildRequires: ghc-transformers-prof
|
||||
ExcludeArch: %{ix86}
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-HUnit-devel
|
||||
BuildRequires: ghc-HUnit-prof
|
||||
BuildRequires: ghc-deepseq-devel
|
||||
BuildRequires: ghc-deepseq-prof
|
||||
BuildRequires: ghc-httpd-shed-devel
|
||||
BuildRequires: ghc-httpd-shed-prof
|
||||
BuildRequires: ghc-pureMD5-devel
|
||||
BuildRequires: ghc-pureMD5-prof
|
||||
BuildRequires: ghc-split-devel
|
||||
BuildRequires: ghc-split-prof
|
||||
BuildRequires: ghc-test-framework-devel
|
||||
BuildRequires: ghc-test-framework-hunit-devel
|
||||
BuildRequires: ghc-test-framework-hunit-prof
|
||||
BuildRequires: ghc-test-framework-prof
|
||||
%endif
|
||||
|
||||
%description
|
||||
@ -94,6 +113,22 @@ Requires(postun): ghc-compiler = %{ghc_version}
|
||||
%description devel
|
||||
This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%package -n ghc-%{pkg_name}-doc
|
||||
Summary: Haskell %{pkg_name} library documentation
|
||||
Requires: ghc-filesystem
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n ghc-%{pkg_name}-doc
|
||||
This package provides the Haskell %{pkg_name} library documentation.
|
||||
|
||||
%package -n ghc-%{pkg_name}-prof
|
||||
Summary: Haskell %{pkg_name} profiling library
|
||||
Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
|
||||
Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
|
||||
|
||||
%description -n ghc-%{pkg_name}-prof
|
||||
This package provides the Haskell %{pkg_name} profiling library.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
@ -119,4 +154,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
%files devel -f %{name}-devel.files
|
||||
%doc CHANGES
|
||||
|
||||
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
|
||||
%license LICENSE
|
||||
|
||||
%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user