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
|
Cabal-Version: >= 1.10
|
||||||
|
Name: HTTP
|
||||||
|
Version: 4000.4.1
|
||||||
|
x-revision: 2
|
||||||
Build-type: Simple
|
Build-type: Simple
|
||||||
License: BSD3
|
License: BSD3
|
||||||
License-file: LICENSE
|
License-file: LICENSE
|
||||||
@ -57,16 +57,15 @@ Description:
|
|||||||
|
|
||||||
Extra-Source-Files: CHANGES
|
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
|
Source-Repository head
|
||||||
type: git
|
type: git
|
||||||
location: https://github.com/haskell/HTTP.git
|
location: https://github.com/haskell/HTTP.git
|
||||||
|
|
||||||
Flag mtl1
|
|
||||||
description: Use the old mtl version 1.
|
|
||||||
default: False
|
|
||||||
|
|
||||||
Flag warn-as-error
|
Flag warn-as-error
|
||||||
default: False
|
default: False
|
||||||
description: Build with warnings-as-errors
|
description: Build with warnings-as-errors
|
||||||
@ -110,23 +109,26 @@ Library
|
|||||||
|
|
||||||
-- note the test harness constraints should be kept in sync with these
|
-- note the test harness constraints should be kept in sync with these
|
||||||
-- where dependencies are shared
|
-- where dependencies are shared
|
||||||
Build-depends: base >= 4.3.0.0 && < 4.17, parsec >= 2.0 && < 3.2
|
build-depends:
|
||||||
Build-depends: array >= 0.3.0.2 && < 0.6, bytestring >= 0.9.1.5 && < 0.12
|
base >= 4.6.0.0 && < 4.19
|
||||||
Build-depends: time >= 1.1.2.3 && < 1.13
|
, 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-language: Haskell98
|
||||||
default-extensions: FlexibleInstances
|
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)
|
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
|
else
|
||||||
Build-depends: network >= 2.4 && < 2.6
|
Build-depends: network < 2.6
|
||||||
|
|
||||||
if flag(warn-as-error)
|
if flag(warn-as-error)
|
||||||
ghc-options: -Werror
|
ghc-options: -Werror
|
||||||
@ -147,37 +149,37 @@ Test-Suite test
|
|||||||
|
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
|
|
||||||
-- note: version constraints for dependencies shared with the library
|
build-depends:
|
||||||
-- should be the same
|
HTTP
|
||||||
build-depends: HTTP,
|
-- constraints inherited from HTTP
|
||||||
HUnit >= 1.2.0.1 && < 1.7,
|
, base
|
||||||
httpd-shed >= 0.4 && < 0.5,
|
, bytestring
|
||||||
mtl >= 1.1.1.0 && < 2.3,
|
, mtl
|
||||||
bytestring >= 0.9.1.5 && < 0.12,
|
, network
|
||||||
deepseq >= 1.3.0.0 && < 1.5,
|
-- extra dependencies
|
||||||
pureMD5 >= 0.2.4 && < 2.2,
|
, deepseq >= 1.3.0.0 && < 1.5
|
||||||
base >= 4.3.0.0 && < 4.16,
|
, httpd-shed >= 0.4 && < 0.5
|
||||||
split >= 0.1.3 && < 0.3,
|
, HUnit >= 1.2.0.1 && < 1.7
|
||||||
test-framework >= 0.2.0 && < 0.9,
|
, pureMD5 >= 0.2.4 && < 2.2
|
||||||
test-framework-hunit >= 0.3.0 && <0.4
|
, 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)
|
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
|
else
|
||||||
Build-depends: network >= 2.3 && < 2.6
|
Build-depends: network < 2.6
|
||||||
|
|
||||||
if flag(warp-tests)
|
if flag(warp-tests)
|
||||||
CPP-Options: -DWARP_TESTS
|
CPP-Options: -DWARP_TESTS
|
||||||
build-depends:
|
build-depends:
|
||||||
case-insensitive >= 0.4.0.1 && < 1.3,
|
case-insensitive >= 0.4.0.1 && < 1.3
|
||||||
http-types >= 0.8.0 && < 1.0,
|
, conduit >= 1.0.8 && < 1.4
|
||||||
wai >= 2.1.0 && < 3.3,
|
, http-types >= 0.8.0 && < 1.0
|
||||||
warp >= 2.1.0 && < 3.4
|
, wai >= 2.1.0 && < 3.3
|
||||||
|
, warp >= 2.1.0 && < 3.4
|
||||||
|
|
||||||
if flag(conduit10)
|
if flag(conduit10)
|
||||||
build-depends:
|
build-depends: conduit < 1.1
|
||||||
conduit >= 1.0.8 && < 1.1
|
|
||||||
else
|
else
|
||||||
build-depends:
|
build-depends: conduit >= 1.1, conduit-extra >= 1.1 && < 1.4
|
||||||
conduit >= 1.1 && < 1.4,
|
|
||||||
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
|
Tue Oct 12 11:34:09 UTC 2021 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-HTTP
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,33 +17,52 @@
|
|||||||
|
|
||||||
|
|
||||||
%global pkg_name HTTP
|
%global pkg_name HTTP
|
||||||
|
%global pkgver %{pkg_name}-%{version}
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 4000.3.16
|
Version: 4000.4.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A library for client-side HTTP
|
Summary: A library for client-side HTTP
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
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
|
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-array-devel
|
BuildRequires: ghc-array-devel
|
||||||
|
BuildRequires: ghc-array-prof
|
||||||
|
BuildRequires: ghc-base-devel
|
||||||
|
BuildRequires: ghc-base-prof
|
||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
|
BuildRequires: ghc-bytestring-prof
|
||||||
BuildRequires: ghc-mtl-devel
|
BuildRequires: ghc-mtl-devel
|
||||||
|
BuildRequires: ghc-mtl-prof
|
||||||
BuildRequires: ghc-network-devel
|
BuildRequires: ghc-network-devel
|
||||||
|
BuildRequires: ghc-network-prof
|
||||||
BuildRequires: ghc-network-uri-devel
|
BuildRequires: ghc-network-uri-devel
|
||||||
|
BuildRequires: ghc-network-uri-prof
|
||||||
BuildRequires: ghc-parsec-devel
|
BuildRequires: ghc-parsec-devel
|
||||||
|
BuildRequires: ghc-parsec-prof
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRequires: ghc-time-devel
|
BuildRequires: ghc-time-devel
|
||||||
|
BuildRequires: ghc-time-prof
|
||||||
|
BuildRequires: ghc-transformers-devel
|
||||||
|
BuildRequires: ghc-transformers-prof
|
||||||
ExcludeArch: %{ix86}
|
ExcludeArch: %{ix86}
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: ghc-HUnit-devel
|
BuildRequires: ghc-HUnit-devel
|
||||||
|
BuildRequires: ghc-HUnit-prof
|
||||||
BuildRequires: ghc-deepseq-devel
|
BuildRequires: ghc-deepseq-devel
|
||||||
|
BuildRequires: ghc-deepseq-prof
|
||||||
BuildRequires: ghc-httpd-shed-devel
|
BuildRequires: ghc-httpd-shed-devel
|
||||||
|
BuildRequires: ghc-httpd-shed-prof
|
||||||
BuildRequires: ghc-pureMD5-devel
|
BuildRequires: ghc-pureMD5-devel
|
||||||
|
BuildRequires: ghc-pureMD5-prof
|
||||||
BuildRequires: ghc-split-devel
|
BuildRequires: ghc-split-devel
|
||||||
|
BuildRequires: ghc-split-prof
|
||||||
BuildRequires: ghc-test-framework-devel
|
BuildRequires: ghc-test-framework-devel
|
||||||
BuildRequires: ghc-test-framework-hunit-devel
|
BuildRequires: ghc-test-framework-hunit-devel
|
||||||
|
BuildRequires: ghc-test-framework-hunit-prof
|
||||||
|
BuildRequires: ghc-test-framework-prof
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -94,6 +113,22 @@ Requires(postun): ghc-compiler = %{ghc_version}
|
|||||||
%description devel
|
%description devel
|
||||||
This package provides the Haskell %{pkg_name} library development files.
|
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
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
@ -119,4 +154,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
|
|||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%doc CHANGES
|
%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
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user