From 710eef5b606fee29b7dce244227639578097177bcdee46adf31d871edb2c0833 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 2 Feb 2023 13:42:05 +0000 Subject: [PATCH 1/4] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-HTTP revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-HTTP?expand=0&rev=105 --- HTTP-4000.3.16.tar.gz | 3 -- HTTP-4000.4.1.tar.gz | 3 ++ HTTP.cabal | 88 ++++++++++++++++++++++--------------------- ghc-HTTP.changes | 11 ++++++ ghc-HTTP.spec | 5 ++- 5 files changed, 62 insertions(+), 48 deletions(-) delete mode 100644 HTTP-4000.3.16.tar.gz create mode 100644 HTTP-4000.4.1.tar.gz diff --git a/HTTP-4000.3.16.tar.gz b/HTTP-4000.3.16.tar.gz deleted file mode 100644 index 1044258..0000000 --- a/HTTP-4000.3.16.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d6091c037871ac3d08d021c906206174567499d5a26a6cb804cf530cd590fe2d -size 74516 diff --git a/HTTP-4000.4.1.tar.gz b/HTTP-4000.4.1.tar.gz new file mode 100644 index 0000000..e09a14e --- /dev/null +++ b/HTTP-4000.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df31d8efec775124dab856d7177ddcba31be9f9e0836ebdab03d94392f2dd453 +size 74330 diff --git a/HTTP.cabal b/HTTP.cabal index 434b2b0..a77eacb 100644 --- a/HTTP.cabal +++ b/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: 1 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.18 + , 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 diff --git a/ghc-HTTP.changes b/ghc-HTTP.changes index c81a712..7af400d 100644 --- a/ghc-HTTP.changes +++ b/ghc-HTTP.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sun Aug 14 21:34:43 UTC 2022 - Peter Simons + +- 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 diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 8410d23..f71eacb 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-HTTP # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name HTTP %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 @@ -35,6 +35,7 @@ BuildRequires: ghc-network-uri-devel BuildRequires: ghc-parsec-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-time-devel +BuildRequires: ghc-transformers-devel ExcludeArch: %{ix86} %if %{with tests} BuildRequires: ghc-HUnit-devel From 1bdfa3a8ebf914f7e6bb1d60f08db2f01e9fcf5e8dcbbffcc30d68bc54dc04eb Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 3 Feb 2023 09:19:02 +0000 Subject: [PATCH 2/4] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-HTTP revision:27, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-HTTP?expand=0&rev=106 --- HTTP-4000.3.16.tar.gz | 3 ++ HTTP-4000.4.1.tar.gz | 3 -- HTTP.cabal | 88 +++++++++++++++++++++---------------------- ghc-HTTP.changes | 11 ------ ghc-HTTP.spec | 5 +-- 5 files changed, 48 insertions(+), 62 deletions(-) create mode 100644 HTTP-4000.3.16.tar.gz delete mode 100644 HTTP-4000.4.1.tar.gz diff --git a/HTTP-4000.3.16.tar.gz b/HTTP-4000.3.16.tar.gz new file mode 100644 index 0000000..1044258 --- /dev/null +++ b/HTTP-4000.3.16.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6091c037871ac3d08d021c906206174567499d5a26a6cb804cf530cd590fe2d +size 74516 diff --git a/HTTP-4000.4.1.tar.gz b/HTTP-4000.4.1.tar.gz deleted file mode 100644 index e09a14e..0000000 --- a/HTTP-4000.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:df31d8efec775124dab856d7177ddcba31be9f9e0836ebdab03d94392f2dd453 -size 74330 diff --git a/HTTP.cabal b/HTTP.cabal index a77eacb..434b2b0 100644 --- a/HTTP.cabal +++ b/HTTP.cabal @@ -1,7 +1,7 @@ -Cabal-Version: >= 1.10 Name: HTTP -Version: 4000.4.1 +Version: 4000.3.16 x-revision: 1 +Cabal-Version: >= 1.10 Build-type: Simple License: BSD3 License-file: LICENSE @@ -57,15 +57,16 @@ Description: Extra-Source-Files: CHANGES -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 +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 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 @@ -109,26 +110,23 @@ Library -- note the test harness constraints should be kept in sync with these -- where dependencies are shared - build-depends: - base >= 4.6.0.0 && < 4.18 - , 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 + 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 default-language: Haskell98 default-extensions: FlexibleInstances - if flag(network-uri) - Build-depends: network-uri == 2.6.*, network >= 2.6 + if flag(mtl1) + Build-depends: mtl >= 1.1.1.0 && < 1.2 + CPP-Options: -DMTL1 else - Build-depends: network < 2.6 + Build-depends: mtl >= 2.0 && < 2.3 + + if flag(network-uri) + Build-depends: network-uri == 2.6.*, network >= 2.6 && < 3.2 + else + Build-depends: network >= 2.4 && < 2.6 if flag(warn-as-error) ghc-options: -Werror @@ -149,37 +147,37 @@ Test-Suite test ghc-options: -Wall - 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 + -- 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 if flag(network-uri) - Build-depends: network-uri == 2.6.*, network >= 2.6 + Build-depends: network-uri == 2.6.*, network >= 2.6 && < 3.2 else - Build-depends: network < 2.6 + Build-depends: network >= 2.3 && < 2.6 if flag(warp-tests) CPP-Options: -DWARP_TESTS build-depends: - 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 + 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 if flag(conduit10) - build-depends: conduit < 1.1 + build-depends: + conduit >= 1.0.8 && < 1.1 else - build-depends: conduit >= 1.1, conduit-extra >= 1.1 && < 1.4 + build-depends: + conduit >= 1.1 && < 1.4, + conduit-extra >= 1.1 && < 1.4 diff --git a/ghc-HTTP.changes b/ghc-HTTP.changes index 7af400d..c81a712 100644 --- a/ghc-HTTP.changes +++ b/ghc-HTTP.changes @@ -1,14 +1,3 @@ -------------------------------------------------------------------- -Sun Aug 14 21:34:43 UTC 2022 - Peter Simons - -- 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 diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index f71eacb..8410d23 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-HTTP # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name HTTP %bcond_with tests Name: ghc-%{pkg_name} -Version: 4000.4.1 +Version: 4000.3.16 Release: 0 Summary: A library for client-side HTTP License: BSD-3-Clause @@ -35,7 +35,6 @@ BuildRequires: ghc-network-uri-devel BuildRequires: ghc-parsec-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-time-devel -BuildRequires: ghc-transformers-devel ExcludeArch: %{ix86} %if %{with tests} BuildRequires: ghc-HUnit-devel From 67fd8ceb18d4650e0a332ca22738d2e2967066f9da96e17d063a4731b773abaf Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 08:26:17 +0000 Subject: [PATCH 3/4] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-HTTP revision:8, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-HTTP?expand=0&rev=107 --- HTTP-4000.3.16.tar.gz | 3 -- HTTP-4000.4.1.tar.gz | 3 ++ HTTP.cabal | 88 ++++++++++++++++++++++--------------------- ghc-HTTP.changes | 17 +++++++++ ghc-HTTP.spec | 46 ++++++++++++++++++++-- 5 files changed, 108 insertions(+), 49 deletions(-) delete mode 100644 HTTP-4000.3.16.tar.gz create mode 100644 HTTP-4000.4.1.tar.gz diff --git a/HTTP-4000.3.16.tar.gz b/HTTP-4000.3.16.tar.gz deleted file mode 100644 index 1044258..0000000 --- a/HTTP-4000.3.16.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d6091c037871ac3d08d021c906206174567499d5a26a6cb804cf530cd590fe2d -size 74516 diff --git a/HTTP-4000.4.1.tar.gz b/HTTP-4000.4.1.tar.gz new file mode 100644 index 0000000..e09a14e --- /dev/null +++ b/HTTP-4000.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df31d8efec775124dab856d7177ddcba31be9f9e0836ebdab03d94392f2dd453 +size 74330 diff --git a/HTTP.cabal b/HTTP.cabal index 434b2b0..5314470 100644 --- a/HTTP.cabal +++ b/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 diff --git a/ghc-HTTP.changes b/ghc-HTTP.changes index c81a712..c9eb5f9 100644 --- a/ghc-HTTP.changes +++ b/ghc-HTTP.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Thu Mar 16 23:12:10 UTC 2023 - Peter Simons + +- 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 + +- 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 diff --git a/ghc-HTTP.spec b/ghc-HTTP.spec index 8410d23..3f1c06f 100644 --- a/ghc-HTTP.spec +++ b/ghc-HTTP.spec @@ -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 From 0767e0903a5ae4ee4ed96a1e2afeb4c663b77d0d7e8837318001035ecbef33a6 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 17:38:24 +0000 Subject: [PATCH 4/4] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-HTTP revision:9, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-HTTP?expand=0&rev=108 --- ghc-HTTP.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc-HTTP.changes b/ghc-HTTP.changes index c9eb5f9..ae39c05 100644 --- a/ghc-HTTP.changes +++ b/ghc-HTTP.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 30 17:07:08 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + ------------------------------------------------------------------- Thu Mar 16 23:12:10 UTC 2023 - Peter Simons