diff --git a/ghc-x509-validation.spec b/ghc-x509-validation.spec index 09a3c1d..0682982 100644 --- a/ghc-x509-validation.spec +++ b/ghc-x509-validation.spec @@ -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 x509-validation @@ -6,12 +6,13 @@ Name: ghc-%{pkg_name} Version: 1.6.10 -Release: 3%{?dist} +Release: 4%{?dist} Summary: X.509 Certificate and CRL validation 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,6 +53,7 @@ files. %prep %setup -q -n %{pkgver} +cp -p %{SOURCE1} %{pkg_name}.cabal %build @@ -78,6 +80,9 @@ files. %changelog +* Sat Jul 28 2018 Jens Petersen - 1.6.10-4 +- revise .cabal + * Mon Jul 23 2018 Miro HronĨok - 1.6.10-3 - Rebuilt for #1607054 diff --git a/x509-validation-1.6.10.cabal b/x509-validation-1.6.10.cabal new file mode 100644 index 0000000..5c2e3cb --- /dev/null +++ b/x509-validation-1.6.10.cabal @@ -0,0 +1,62 @@ +Name: x509-validation +version: 1.6.10 +x-revision: 1 +Description: X.509 Certificate and CRL validation +License: BSD3 +License-file: LICENSE +Copyright: Vincent Hanquez +Author: Vincent Hanquez +Maintainer: Vincent Hanquez +Synopsis: X.509 Certificate and CRL validation +Build-Type: Simple +Category: Data +stability: experimental +Homepage: http://github.com/vincenthz/hs-certificate +Cabal-Version: >= 1.10 + +Library + Default-Language: Haskell2010 + Build-Depends: base >= 3 && < 5 + , bytestring + , memory + , mtl + , containers + , hourglass + , data-default-class + , pem >= 0.1 + , asn1-types >= 0.3 && < 0.4 + , asn1-encoding >= 0.9 && < 0.10 + , x509 >= 1.7.2 + , x509-store >= 1.6 + , cryptonite >= 0.8 + Exposed-modules: Data.X509.Validation + Other-modules: Data.X509.Validation.Signature + Data.X509.Validation.Fingerprint + Data.X509.Validation.Cache + Data.X509.Validation.Types + ghc-options: -Wall + +Test-Suite test-x509-validation + Default-Language: Haskell2010 + type: exitcode-stdio-1.0 + hs-source-dirs: Tests + Main-is: Tests.hs + Other-modules: Certificate + Build-Depends: base >= 3 && < 5 + , bytestring + , data-default-class + , tasty + , tasty-hunit + , hourglass + , asn1-types + , asn1-encoding + , x509 >= 1.7.1 + , x509-store + , x509-validation + , cryptonite + ghc-options: -Wall + +source-repository head + type: git + location: git://github.com/vincenthz/hs-certificate + subdir: x509-validation