Accepting request 1008433 from devel:languages:haskell

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1008433
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-authenticate-oauth?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2022-10-13 13:41:00 +00:00 committed by Git OBS Bridge
commit cc48360563
3 changed files with 47 additions and 1 deletions

38
authenticate-oauth.cabal Normal file
View File

@ -0,0 +1,38 @@
cabal-version: >= 1.10
name: authenticate-oauth
version: 1.7
x-revision: 1
license: BSD3
license-file: LICENSE
author: Hiromi Ishii
maintainer: Hiromi Ishii, Artem Chirkin
synopsis: Library to authenticate with OAuth for Haskell web applications.
description: API docs and the README are available at <http://www.stackage.org/package/authenticate-oauth>.
category: Web
stability: Stable
build-type: Simple
homepage: http://github.com/yesodweb/authenticate
extra-source-files: README.md ChangeLog.md
library
default-language: Haskell2010
build-depends: base >= 4.10 && < 5
, http-client >= 0.3
, transformers >= 0.1 && < 0.7
, bytestring >= 0.9
, crypto-pubkey-types >= 0.1 && < 0.5
, RSA >= 2.0 && < 2.5
, time
, data-default
, base64-bytestring >= 0.1 && < 1.3
, SHA >= 1.4 && < 1.7
, random
, http-types >= 0.6
, blaze-builder
, transformers-compat >= 0.3
exposed-modules: Web.Authenticate.OAuth, Web.Authenticate.OAuth.IO
ghc-options: -Wall
source-repository head
type: git
location: git://github.com/yesodweb/authenticate.git

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Aug 17 05:12:32 UTC 2022 - Peter Simons <psimons@suse.com>
- Update authenticate-oauth to version 1.7 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Mon Jun 21 05:22:45 UTC 2021 - psimons@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-authenticate-oauth
#
# 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
@ -24,6 +24,7 @@ Summary: Library to authenticate with OAuth for Haskell web applications
License: BSD-2-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
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-RSA-devel
BuildRequires: ghc-SHA-devel
@ -58,6 +59,7 @@ files.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build