forked from pool/ghc-servant-client-core
		
	Compare commits
	
		
			1 Commits
		
	
	
		
	
	| Author | SHA256 | Date | |
|---|---|---|---|
| b70cff3b6b | 
@@ -1,90 +1,5 @@
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Thu Oct 27 19:16:04 UTC 2022 - Peter Simons <psimons@suse.com>
 | 
			
		||||
Fri Aug 30 02:29:39 UTC 2024 - Peter Simons <psimons@suse.com>
 | 
			
		||||
 | 
			
		||||
- Update servant-client-core to version 0.19 revision 4.
 | 
			
		||||
  Upstream has revised the Cabal build instructions on Hackage.
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Mon Mar 21 14:53:21 UTC 2022 - Peter Simons <psimons@suse.com>
 | 
			
		||||
 | 
			
		||||
- Update servant-client-core to version 0.19 revision 3.
 | 
			
		||||
  Upstream has revised the Cabal build instructions on Hackage.
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Wed Feb 23 09:58:25 UTC 2022 - Peter Simons <psimons@suse.com>
 | 
			
		||||
 | 
			
		||||
- Update servant-client-core to version 0.19 revision 1.
 | 
			
		||||
  Upstream has revised the Cabal build instructions on Hackage.
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Wed Feb  2 13:27:38 UTC 2022 - Peter Simons <psimons@suse.com>
 | 
			
		||||
 | 
			
		||||
- Update servant-client-core to version 0.19.
 | 
			
		||||
  Package versions follow the [Package Versioning Policy](https://pvp.haskell.org/): in A.B.C, bumps to either A or B represent major versions.
 | 
			
		||||
 | 
			
		||||
  0.19
 | 
			
		||||
  ----
 | 
			
		||||
 | 
			
		||||
  ### Significant changes
 | 
			
		||||
 | 
			
		||||
  - Drop support for GHC < 8.6.
 | 
			
		||||
  - Support GHC 9.0 (GHC 9.2 should work as well, but isn't fully tested yet).
 | 
			
		||||
  - Support Aeson 2 ([#1475](https://github.com/haskell-servant/servant/pull/1475)),
 | 
			
		||||
    which fixes a [DOS vulnerability](https://github.com/haskell/aeson/issues/864)
 | 
			
		||||
    related to hash collisions.
 | 
			
		||||
  - Add `NamedRoutes` combinator, making support for records first-class in Servant
 | 
			
		||||
    ([#1388](https://github.com/haskell-servant/servant/pull/1388)).
 | 
			
		||||
  - Add custom type errors for partially applied combinators
 | 
			
		||||
    ([#1289](https://github.com/haskell-servant/servant/pull/1289),
 | 
			
		||||
    [#1486](https://github.com/haskell-servant/servant/pull/1486)).
 | 
			
		||||
  - *servant-client* / *servant-client-core* / *servant-http-streams*: Fix
 | 
			
		||||
    erroneous behavior, where only 2XX status codes would be considered
 | 
			
		||||
    successful, irrelevant of the status parameter specified by the verb
 | 
			
		||||
    combinator. ([#1469](https://github.com/haskell-servant/servant/pull/1469))
 | 
			
		||||
  - *servant-client* / *servant-client-core*: Fix `Show` instance for
 | 
			
		||||
    `Servant.Client.Core.Request`.
 | 
			
		||||
  - *servant-client* /  *servant-client-core*: Allow passing arbitrary binary data
 | 
			
		||||
    in Query parameters.
 | 
			
		||||
    ([#1432](https://github.com/haskell-servant/servant/pull/1432)).
 | 
			
		||||
 | 
			
		||||
  ### Other changes
 | 
			
		||||
 | 
			
		||||
  - Various version bumps.
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Tue Sep  7 18:48:55 UTC 2021 - Ondřej Súkup <mimi.vx@gmail.com>
 | 
			
		||||
 | 
			
		||||
- relax constraints on base-compat-* 
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Thu Jun 24 11:53:38 UTC 2021 - psimons@suse.com
 | 
			
		||||
 | 
			
		||||
- Update servant-client-core to version 0.18.3.
 | 
			
		||||
  0.18.3
 | 
			
		||||
  ------
 | 
			
		||||
 | 
			
		||||
  ### Significant changes
 | 
			
		||||
 | 
			
		||||
  - Add response header support to UVerb (#1420)
 | 
			
		||||
 | 
			
		||||
  ### Other changes
 | 
			
		||||
 | 
			
		||||
  - Support GHC-9.0.1.
 | 
			
		||||
  - Bump `bytestring`, `hspec`, `base64-bytestring` and `QuickCheck` dependencies.
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Sat May 15 15:56:11 UTC 2021 - psimons@suse.com
 | 
			
		||||
 | 
			
		||||
- Update servant-client-core to version 0.18.2 revision 2.
 | 
			
		||||
  Upstream has revised the Cabal build instructions on Hackage.
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
 | 
			
		||||
 
 | 
			
		||||
- disable %{ix86} build
 | 
			
		||||
 
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Wed Dec  9 11:50:51 UTC 2020 - psimons@suse.com
 | 
			
		||||
 | 
			
		||||
- Add servant-client-core at version 0.18.2 revision 1.
 | 
			
		||||
- Add servant-client-core at version 0.20.2.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
#
 | 
			
		||||
# spec file for package ghc-servant-client-core
 | 
			
		||||
#
 | 
			
		||||
# Copyright (c) 2022 SUSE LLC
 | 
			
		||||
# Copyright (c) 2024 SUSE LLC
 | 
			
		||||
#
 | 
			
		||||
# All modifications and additions to the file contributed by third parties
 | 
			
		||||
# remain the property of their copyright owners, unless otherwise agreed
 | 
			
		||||
@@ -17,39 +17,59 @@
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
%global pkg_name servant-client-core
 | 
			
		||||
%global pkgver %{pkg_name}-%{version}
 | 
			
		||||
%bcond_with tests
 | 
			
		||||
Name:           ghc-%{pkg_name}
 | 
			
		||||
Version:        0.19
 | 
			
		||||
Version:        0.20.2
 | 
			
		||||
Release:        0
 | 
			
		||||
Summary:        Core functionality and class for client function generation for servant APIs
 | 
			
		||||
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/4.cabal#/%{pkg_name}.cabal
 | 
			
		||||
BuildRequires:  ghc-Cabal-devel
 | 
			
		||||
BuildRequires:  ghc-aeson-devel
 | 
			
		||||
BuildRequires:  ghc-aeson-prof
 | 
			
		||||
BuildRequires:  ghc-base-compat-devel
 | 
			
		||||
BuildRequires:  ghc-base-compat-prof
 | 
			
		||||
BuildRequires:  ghc-base-devel
 | 
			
		||||
BuildRequires:  ghc-base-prof
 | 
			
		||||
BuildRequires:  ghc-base64-bytestring-devel
 | 
			
		||||
BuildRequires:  ghc-base64-bytestring-prof
 | 
			
		||||
BuildRequires:  ghc-bytestring-devel
 | 
			
		||||
BuildRequires:  ghc-bytestring-prof
 | 
			
		||||
BuildRequires:  ghc-constraints-devel
 | 
			
		||||
BuildRequires:  ghc-constraints-prof
 | 
			
		||||
BuildRequires:  ghc-containers-devel
 | 
			
		||||
BuildRequires:  ghc-containers-prof
 | 
			
		||||
BuildRequires:  ghc-deepseq-devel
 | 
			
		||||
BuildRequires:  ghc-deepseq-prof
 | 
			
		||||
BuildRequires:  ghc-exceptions-devel
 | 
			
		||||
BuildRequires:  ghc-exceptions-prof
 | 
			
		||||
BuildRequires:  ghc-free-devel
 | 
			
		||||
BuildRequires:  ghc-free-prof
 | 
			
		||||
BuildRequires:  ghc-http-media-devel
 | 
			
		||||
BuildRequires:  ghc-http-media-prof
 | 
			
		||||
BuildRequires:  ghc-http-types-devel
 | 
			
		||||
BuildRequires:  ghc-http-types-prof
 | 
			
		||||
BuildRequires:  ghc-network-uri-devel
 | 
			
		||||
BuildRequires:  ghc-network-uri-prof
 | 
			
		||||
BuildRequires:  ghc-rpm-macros
 | 
			
		||||
BuildRequires:  ghc-safe-devel
 | 
			
		||||
BuildRequires:  ghc-safe-prof
 | 
			
		||||
BuildRequires:  ghc-servant-devel
 | 
			
		||||
BuildRequires:  ghc-servant-prof
 | 
			
		||||
BuildRequires:  ghc-sop-core-devel
 | 
			
		||||
BuildRequires:  ghc-sop-core-prof
 | 
			
		||||
BuildRequires:  ghc-template-haskell-devel
 | 
			
		||||
BuildRequires:  ghc-template-haskell-prof
 | 
			
		||||
BuildRequires:  ghc-text-devel
 | 
			
		||||
BuildRequires:  ghc-transformers-devel
 | 
			
		||||
BuildRequires:  ghc-text-prof
 | 
			
		||||
ExcludeArch:    %{ix86}
 | 
			
		||||
%if %{with tests}
 | 
			
		||||
BuildRequires:  ghc-QuickCheck-devel
 | 
			
		||||
BuildRequires:  ghc-QuickCheck-prof
 | 
			
		||||
BuildRequires:  ghc-hspec-devel
 | 
			
		||||
BuildRequires:  ghc-hspec-prof
 | 
			
		||||
%endif
 | 
			
		||||
 | 
			
		||||
%description
 | 
			
		||||
@@ -67,9 +87,24 @@ Requires(postun): ghc-compiler = %{ghc_version}
 | 
			
		||||
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
 | 
			
		||||
 | 
			
		||||
%build
 | 
			
		||||
%ghc_lib_build
 | 
			
		||||
@@ -92,4 +127,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
 | 
			
		||||
%files devel -f %{name}-devel.files
 | 
			
		||||
%doc CHANGELOG.md README.md
 | 
			
		||||
 | 
			
		||||
%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
 | 
			
		||||
 
 | 
			
		||||
@@ -1,3 +0,0 @@
 | 
			
		||||
version https://git-lfs.github.com/spec/v1
 | 
			
		||||
oid sha256:ace6cdafbe1981237935914f188432a35dad4440f905c83267c70cea59613a32
 | 
			
		||||
size 21573
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								servant-client-core-0.20.2.tar.gz
									 (Stored with Git LFS)
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								servant-client-core-0.20.2.tar.gz
									 (Stored with Git LFS)
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							@@ -1,112 +0,0 @@
 | 
			
		||||
cabal-version:       2.2
 | 
			
		||||
name:                servant-client-core
 | 
			
		||||
version:             0.19
 | 
			
		||||
x-revision: 4
 | 
			
		||||
 | 
			
		||||
synopsis:            Core functionality and class for client function generation for servant APIs
 | 
			
		||||
category:            Servant, Web
 | 
			
		||||
description:
 | 
			
		||||
  This library provides backend-agnostic generation of client functions. For
 | 
			
		||||
  more information, see the README.
 | 
			
		||||
 | 
			
		||||
homepage:            http://docs.servant.dev/
 | 
			
		||||
bug-reports:         http://github.com/haskell-servant/servant/issues
 | 
			
		||||
license:             BSD-3-Clause
 | 
			
		||||
license-file:        LICENSE
 | 
			
		||||
author:              Servant Contributors
 | 
			
		||||
maintainer:          haskell-servant-maintainers@googlegroups.com
 | 
			
		||||
copyright:           2014-2016 Zalora South East Asia Pte Ltd, 2016-2019 Servant Contributors
 | 
			
		||||
build-type:          Simple
 | 
			
		||||
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.2 || ==9.0.1
 | 
			
		||||
           , GHCJS ==8.6.0.1
 | 
			
		||||
 | 
			
		||||
extra-source-files:
 | 
			
		||||
  CHANGELOG.md
 | 
			
		||||
  README.md
 | 
			
		||||
 | 
			
		||||
source-repository head
 | 
			
		||||
  type:              git
 | 
			
		||||
  location:          http://github.com/haskell-servant/servant.git
 | 
			
		||||
 | 
			
		||||
library
 | 
			
		||||
  exposed-modules:
 | 
			
		||||
      Servant.Client.Core
 | 
			
		||||
      Servant.Client.Free
 | 
			
		||||
      Servant.Client.Generic
 | 
			
		||||
      Servant.Client.Core.Reexport
 | 
			
		||||
      Servant.Client.Core.Auth
 | 
			
		||||
      Servant.Client.Core.BaseUrl
 | 
			
		||||
      Servant.Client.Core.BasicAuth
 | 
			
		||||
      Servant.Client.Core.ClientError
 | 
			
		||||
      Servant.Client.Core.HasClient
 | 
			
		||||
      Servant.Client.Core.Request
 | 
			
		||||
      Servant.Client.Core.Response
 | 
			
		||||
      Servant.Client.Core.RunClient
 | 
			
		||||
 | 
			
		||||
  other-modules:
 | 
			
		||||
      Servant.Client.Core.Internal
 | 
			
		||||
 | 
			
		||||
   -- Bundled with GHC: Lower bound to not force re-installs
 | 
			
		||||
  -- text and mtl are bundled starting with GHC-8.4
 | 
			
		||||
  --
 | 
			
		||||
  -- note: mtl lower bound is so low because of GHC-7.8
 | 
			
		||||
  build-depends:
 | 
			
		||||
      base                  >= 4.9      && < 4.18
 | 
			
		||||
    , bytestring            >= 0.10.8.1 && < 0.12
 | 
			
		||||
    , constraints           >= 0.2      && < 0.14
 | 
			
		||||
    , containers            >= 0.5.7.1  && < 0.7
 | 
			
		||||
    , deepseq               >= 1.4.2.0  && < 1.5
 | 
			
		||||
    , text                  >= 1.2.3.0  && < 2.1
 | 
			
		||||
    , transformers          >= 0.5.2.0  && < 0.6
 | 
			
		||||
    , template-haskell      >= 2.11.1.0 && < 2.20
 | 
			
		||||
 | 
			
		||||
  if !impl(ghc >= 8.2)
 | 
			
		||||
    build-depends:
 | 
			
		||||
      bifunctors >= 5.5.3 && < 5.6
 | 
			
		||||
 | 
			
		||||
  -- Servant dependencies
 | 
			
		||||
  build-depends:
 | 
			
		||||
      servant            >= 0.19
 | 
			
		||||
 | 
			
		||||
  -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
 | 
			
		||||
  -- Here can be exceptions if we really need features from the newer versions.
 | 
			
		||||
  build-depends:
 | 
			
		||||
      aeson                 >= 1.4.1.0  && < 3
 | 
			
		||||
    , base-compat           >= 0.10.5   && < 0.13
 | 
			
		||||
    , base64-bytestring     >= 1.0.0.1  && < 1.3
 | 
			
		||||
    , exceptions            >= 0.10.0   && < 0.11
 | 
			
		||||
    , free                  >= 5.1      && < 5.2
 | 
			
		||||
    , http-media            >= 0.7.1.3  && < 0.9
 | 
			
		||||
    , http-types            >= 0.12.2   && < 0.13
 | 
			
		||||
    , network-uri           >= 2.6.1.0  && < 2.7
 | 
			
		||||
    , safe                  >= 0.3.17   && < 0.4
 | 
			
		||||
    , sop-core              >= 0.4.0.0  && < 0.6
 | 
			
		||||
 | 
			
		||||
  hs-source-dirs:      src
 | 
			
		||||
  default-language:    Haskell2010
 | 
			
		||||
  ghc-options:         -Wall
 | 
			
		||||
 | 
			
		||||
test-suite spec
 | 
			
		||||
  type:                exitcode-stdio-1.0
 | 
			
		||||
  ghc-options:         -Wall
 | 
			
		||||
  default-language:    Haskell2010
 | 
			
		||||
  hs-source-dirs:      test
 | 
			
		||||
  main-is:             Spec.hs
 | 
			
		||||
  other-modules:
 | 
			
		||||
      Servant.Client.Core.Internal.BaseUrlSpec
 | 
			
		||||
      Servant.Client.Core.RequestSpec
 | 
			
		||||
 | 
			
		||||
  -- Dependencies inherited from the library. No need to specify bounds.
 | 
			
		||||
  build-depends:
 | 
			
		||||
      base
 | 
			
		||||
    , base-compat
 | 
			
		||||
    , servant-client-core
 | 
			
		||||
 | 
			
		||||
  -- Additional dependencies
 | 
			
		||||
  build-depends:
 | 
			
		||||
      deepseq    >= 1.4.2.0  && < 1.5
 | 
			
		||||
    , hspec      >= 2.6.0    && < 2.10
 | 
			
		||||
    , QuickCheck >= 2.12.6.1 && < 2.15
 | 
			
		||||
 | 
			
		||||
  build-tool-depends:
 | 
			
		||||
    hspec-discover:hspec-discover >= 2.6.0 && <2.10
 | 
			
		||||
		Reference in New Issue
	
	Block a user