revise .cabal
This commit is contained in:
parent
2cce690f15
commit
ac96f5b1c4
@ -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 persistent-template
|
||||
@ -8,12 +8,13 @@
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 2.5.4
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Type-safe, non-relational, multi-backend persistence
|
||||
|
||||
License: MIT
|
||||
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
|
||||
@ -60,6 +61,7 @@ files.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkgver}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
|
||||
%build
|
||||
@ -91,6 +93,9 @@ files.
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 2.5.4-3
|
||||
- revise .cabal
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
57
persistent-template-2.5.4.cabal
Normal file
57
persistent-template-2.5.4.cabal
Normal file
@ -0,0 +1,57 @@
|
||||
name: persistent-template
|
||||
version: 2.5.4
|
||||
x-revision: 2
|
||||
license: MIT
|
||||
license-file: LICENSE
|
||||
author: Michael Snoyman <michael@snoyman.com>
|
||||
maintainer: Michael Snoyman <michael@snoyman.com>, Greg Weber <greg@gregweber.info>
|
||||
synopsis: Type-safe, non-relational, multi-backend persistence.
|
||||
description: Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/persistent-template>.
|
||||
category: Database, Yesod
|
||||
stability: Stable
|
||||
cabal-version: >= 1.8
|
||||
build-type: Simple
|
||||
homepage: http://www.yesodweb.com/book/persistent
|
||||
bug-reports: https://github.com/yesodweb/persistent/issues
|
||||
extra-source-files: test/main.hs ChangeLog.md README.md
|
||||
|
||||
library
|
||||
build-depends: base >= 4.6 && < 5
|
||||
, template-haskell
|
||||
, persistent >= 2.5 && < 3
|
||||
, monad-control >= 0.2 && < 1.1
|
||||
, bytestring >= 0.9
|
||||
, text >= 0.5
|
||||
, transformers >= 0.2 && < 0.6
|
||||
, containers
|
||||
, aeson >= 0.7 && < 1.5
|
||||
, aeson-compat >= 0.3.2.0 && < 0.4
|
||||
, monad-logger
|
||||
, unordered-containers
|
||||
, tagged
|
||||
, path-pieces
|
||||
, http-api-data >= 0.2 && < 0.4
|
||||
, ghc-prim
|
||||
exposed-modules: Database.Persist.TH
|
||||
ghc-options: -Wall
|
||||
if impl(ghc >= 7.4)
|
||||
cpp-options: -DGHC_7_4
|
||||
|
||||
test-suite test
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: main.hs
|
||||
hs-source-dirs: test
|
||||
|
||||
build-depends: base >= 4.6 && < 5
|
||||
, persistent-template
|
||||
, aeson
|
||||
, hspec >= 1.3
|
||||
, text
|
||||
, persistent
|
||||
, bytestring
|
||||
, QuickCheck
|
||||
, transformers
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: git://github.com/yesodweb/persistent.git
|
Loading…
Reference in New Issue
Block a user