revise .cabal

This commit is contained in:
Jens Petersen 2018-07-29 00:53:29 +09:00
parent d64f52cbbf
commit 055de3facf
2 changed files with 44 additions and 3 deletions

View File

@ -0,0 +1,37 @@
name: authenticate-oauth
version: 1.6
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
cabal-version: >= 1.6
build-type: Simple
homepage: http://github.com/yesodweb/authenticate
extra-source-files: README.md ChangeLog.md
library
build-depends: base >= 4 && < 5
, http-client >= 0.3
, transformers >= 0.1 && < 0.6
, bytestring >= 0.9
, crypto-pubkey-types >= 0.1 && < 0.5
, RSA >= 2.0 && < 2.4
, time
, data-default
, base64-bytestring >= 0.1 && < 1.1
, 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,4 +1,4 @@
# generated by cabal-rpm-0.12.1
# generated by cabal-rpm-0.12.5
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name authenticate-oauth
@ -6,12 +6,13 @@
Name: ghc-%{pkg_name}
Version: 1.6
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Library to authenticate with OAuth for Haskell web applications
License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
@ -52,7 +53,7 @@ files.
%prep
%setup -q -n %{pkgver}
cabal-tweak-dep-ver RSA '< 2.3' '< 2.4'
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
@ -80,6 +81,9 @@ cabal-tweak-dep-ver RSA '< 2.3' '< 2.4'
%changelog
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 1.6-5
- revise .cabal
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild