update to 2.6.0

This commit is contained in:
Jens Petersen 2023-01-23 01:15:10 +08:00
parent 61ccacd9ad
commit 734563ccb6
3 changed files with 40 additions and 25 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@
/hoauth2-1.14.0.tar.gz
/hoauth2-1.16.0.tar.gz
/hoauth2-1.16.2.tar.gz
/hoauth2-2.6.0.tar.gz

View File

@ -1,15 +1,15 @@
# generated by cabal-rpm-2.0.9
# generated by cabal-rpm-2.1.0
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name hoauth2
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
Version: 1.16.2
Release: 2%{?dist}
Version: 2.6.0
Release: 1%{?dist}
Summary: Haskell OAuth2 authentication client
License: BSD
License: MIT
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
@ -18,41 +18,51 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-base64-devel
BuildRequires: ghc-binary-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-cryptonite-devel
BuildRequires: ghc-data-default-devel
BuildRequires: ghc-exceptions-devel
BuildRequires: ghc-http-conduit-devel
BuildRequires: ghc-http-types-devel
BuildRequires: ghc-memory-devel
BuildRequires: ghc-microlens-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-uri-bytestring-devel
BuildRequires: ghc-uri-bytestring-aeson-devel
%if %{with ghc_prof}
BuildRequires: ghc-aeson-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-base64-prof
BuildRequires: ghc-binary-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-cryptonite-prof
BuildRequires: ghc-data-default-prof
BuildRequires: ghc-exceptions-prof
BuildRequires: ghc-http-conduit-prof
BuildRequires: ghc-http-types-prof
BuildRequires: ghc-memory-prof
BuildRequires: ghc-microlens-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-unordered-containers-prof
BuildRequires: ghc-transformers-prof
BuildRequires: ghc-uri-bytestring-prof
BuildRequires: ghc-uri-bytestring-aeson-prof
%endif
# End cabal-rpm deps
%description
Haskell OAuth2 authentication client. Tested with the following services:
Haskell OAuth2 authentication client.
* AzureAD:
<https://docs.microsoft.com/en-us/azure/active-directory/develop/v1-protocols-oauth-code>
Tutorial <https://github.com/freizl/hoauth2/tree/main/hoauth2-tutorial/>
* Google: <https://developers.google.com/accounts/docs/OAuth2WebServer>
* Github: <http://developer.github.com/v3/oauth/>
* Facebook: <http://developers.facebook.com/docs/facebook-login/>
* Fitbit: <http://dev.fitbit.com/docs/oauth2/>
* StackExchange: <https://api.stackexchange.com/docs/authentication>
* DropBox: <https://www.dropbox.com/developers/reference/oauth-guide>
* Weibo: <http://open.weibo.com/wiki/Oauth2>
* Douban: <http://developers.douban.com/wiki/?title=oauth2>.
Demo application
<https://github.com/freizl/hoauth2-demo/tree/main/hoauth2-demo/>.
%package devel
@ -115,7 +125,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%files devel -f %{name}-devel.files
%doc README.md example
%doc README.org
%if %{with haddock}
@ -130,6 +140,10 @@ This package provides the Haskell %{pkg_name} profiling library.
%changelog
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 2.6.0-1
- https://hackage.haskell.org/package/hoauth2-2.6.0/changelog
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (hoauth2-1.16.2.tar.gz) = a5be73b8863f68d12e7b4548322d25d9108c3b1196ec5a51b9235dadfd90aef7b28d982b3815aacdbff12686b3c5012cb5d5e335fa2cacee21af39893deb8a05
SHA512 (hoauth2-2.6.0.tar.gz) = 59319cf345200248fe30584665411d2bc8bad288cb9071abade964e898e0b99d1ace9a43b2664121fd698bf41f3d19e3ef0de5ec688aa62c454794e5bbf4b9bc