revise .cabal

This commit is contained in:
Jens Petersen 2018-07-29 00:53:28 +09:00
parent 97f6c82ca9
commit 27aa3a2412
2 changed files with 75 additions and 2 deletions

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 # https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name x509 %global pkg_name x509
@ -8,12 +8,13 @@
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 1.7.3 Version: 1.7.3
Release: 3%{?dist} Release: 4%{?dist}
Summary: X509 reader and writer Summary: X509 reader and writer
License: BSD License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name} Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz 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-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
@ -55,6 +56,7 @@ This package provides the Haskell %{pkg_name} library development files.
%prep %prep
%setup -q -n %{pkgver} %setup -q -n %{pkgver}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build %build
@ -85,6 +87,9 @@ This package provides the Haskell %{pkg_name} library development files.
%changelog %changelog
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 1.7.3-4
- revise .cabal
* Mon Jul 23 2018 Miro Hrončok <mhroncok@redhat.com> - 1.7.3-3 * Mon Jul 23 2018 Miro Hrončok <mhroncok@redhat.com> - 1.7.3-3
- Rebuilt for #1607054 - Rebuilt for #1607054

68
x509-1.7.3.cabal Normal file
View File

@ -0,0 +1,68 @@
Name: x509
version: 1.7.3
x-revision: 1
Description: X509 reader and writer
License: BSD3
License-file: LICENSE
Copyright: Vincent Hanquez <vincent@snarc.org>
Author: Vincent Hanquez <vincent@snarc.org>
Maintainer: Vincent Hanquez <vincent@snarc.org>
Synopsis: X509 reader and writer
Build-Type: Simple
Category: Data
stability: experimental
Homepage: http://github.com/vincenthz/hs-certificate
Cabal-Version: >= 1.10
Library
-- Could not find module 'Data.Proxy'
build-depends: base >=4.7
Default-Language: Haskell2010
Build-Depends: base >= 3 && < 5
, bytestring
, memory
, mtl
, containers
, hourglass
, pem >= 0.1
, asn1-types >= 0.3.1 && < 0.4
, asn1-encoding >= 0.9 && < 0.10
, asn1-parse >= 0.9.3 && < 0.10
, cryptonite >= 0.8
Exposed-modules: Data.X509
Data.X509.EC
Other-modules: Data.X509.Internal
Data.X509.CertificateChain
Data.X509.AlgorithmIdentifier
Data.X509.DistinguishedName
Data.X509.Cert
Data.X509.PublicKey
Data.X509.PrivateKey
Data.X509.Ext
Data.X509.ExtensionRaw
Data.X509.CRL
Data.X509.OID
Data.X509.Signed
ghc-options: -Wall
Test-Suite test-x509
Default-Language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: Tests
Main-is: Tests.hs
Build-Depends: base >= 3 && < 5
, bytestring
, mtl
, tasty
, tasty-quickcheck
, hourglass
, asn1-types
, x509
, cryptonite
ghc-options: -Wall -fno-warn-orphans -fno-warn-missing-signatures
source-repository head
type: git
location: git://github.com/vincenthz/hs-certificate
subdir: x509