forked from pool/ghc-x509
Accepting request 607925 from devel:languages:haskell
Update ghc-x509 to the latest version. OBS-URL: https://build.opensuse.org/request/show/607925 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-x509?expand=0&rev=10
This commit is contained in:
commit
889bf98090
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 14 17:02:11 UTC 2018 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update x509 to version 1.7.3 revision 1.
|
||||||
|
Upstream does not provide a changelog.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 27 14:07:19 UTC 2017 - psimons@suse.com
|
Thu Jul 27 14:07:19 UTC 2017 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-x509
|
# spec file for package ghc-x509
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,13 +19,14 @@
|
|||||||
%global pkg_name x509
|
%global pkg_name x509
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 1.7.1
|
Version: 1.7.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: X509 reader and writer
|
Summary: X509 reader and writer
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Other
|
Group: Development/Libraries/Haskell
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
|
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-asn1-encoding-devel
|
BuildRequires: ghc-asn1-encoding-devel
|
||||||
BuildRequires: ghc-asn1-parse-devel
|
BuildRequires: ghc-asn1-parse-devel
|
||||||
@ -38,7 +39,6 @@ BuildRequires: ghc-memory-devel
|
|||||||
BuildRequires: ghc-mtl-devel
|
BuildRequires: ghc-mtl-devel
|
||||||
BuildRequires: ghc-pem-devel
|
BuildRequires: ghc-pem-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: ghc-tasty-devel
|
BuildRequires: ghc-tasty-devel
|
||||||
BuildRequires: ghc-tasty-quickcheck-devel
|
BuildRequires: ghc-tasty-quickcheck-devel
|
||||||
@ -49,7 +49,7 @@ X509 reader and writer.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Haskell %{pkg_name} library development files
|
Summary: Haskell %{pkg_name} library development files
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Haskell
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: ghc-compiler = %{ghc_version}
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
Requires(post): ghc-compiler = %{ghc_version}
|
Requires(post): ghc-compiler = %{ghc_version}
|
||||||
@ -60,6 +60,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
@ -77,10 +78,8 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
%ghc_pkg_recache
|
%ghc_pkg_recache
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc LICENSE
|
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f96566b0c1ef8843f055f2cf8d2111c989498fdbcf6dcde286f816655ff8e467
|
|
||||||
size 17085
|
|
3
x509-1.7.3.tar.gz
Normal file
3
x509-1.7.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:41740f949bb773dc721d342a85587a512658c81ee8cd38f102473b315e127356
|
||||||
|
size 18386
|
68
x509.cabal
Normal file
68
x509.cabal
Normal 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
|
Loading…
x
Reference in New Issue
Block a user