From 383de32e4764fa507bc380140e76f292fed63031d9b2a146e03e3023c3728ae6 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 6 Oct 2022 14:46:18 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-authenticate-oauth revision:12, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-authenticate-oauth?expand=0&rev=8 --- authenticate-oauth.cabal | 38 ++++++++++++++++++++++++++++++++++ ghc-authenticate-oauth.changes | 6 ++++++ ghc-authenticate-oauth.spec | 4 +++- 3 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 authenticate-oauth.cabal diff --git a/authenticate-oauth.cabal b/authenticate-oauth.cabal new file mode 100644 index 0000000..ddb2c87 --- /dev/null +++ b/authenticate-oauth.cabal @@ -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 . +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 diff --git a/ghc-authenticate-oauth.changes b/ghc-authenticate-oauth.changes index 9fbef5c..e4808a8 100644 --- a/ghc-authenticate-oauth.changes +++ b/ghc-authenticate-oauth.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Aug 17 05:12:32 UTC 2022 - Peter Simons + +- 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 diff --git a/ghc-authenticate-oauth.spec b/ghc-authenticate-oauth.spec index 5fc7ea5..1acda3f 100644 --- a/ghc-authenticate-oauth.spec +++ b/ghc-authenticate-oauth.spec @@ -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