1
0

Accepting request 461621 from devel:languages:haskell

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/461621
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-cryptonite-conduit?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2017-03-03 16:49:21 +00:00 committed by Git OBS Bridge
commit 64ef6d5555
4 changed files with 23 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a79cd5bc2f86093bbc45290889ca5a9c502804a3c19188874bc2ff3f2a97aac0
size 2368

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:15edae989ad62b0bdaf817bba8e711323b22d3a3466025f778a54757ba567628
size 3372

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Feb 12 14:11:16 UTC 2017 - psimons@suse.com
- Update to version 0.2.0 with cabal2obs.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jul 10 17:22:29 UTC 2016 - psimons@suse.com Sun Jul 10 17:22:29 UTC 2016 - psimons@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghc-cryptonite-conduit # spec file for package ghc-cryptonite-conduit
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 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
@ -17,31 +17,37 @@
%global pkg_name cryptonite-conduit %global pkg_name cryptonite-conduit
%bcond_with tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.1 Version: 0.2.0
Release: 0 Release: 0
Summary: Cryptonite conduit Summary: Cryptonite conduit
License: BSD-3-Clause License: BSD-3-Clause
Group: System/Libraries Group: Development/Languages/Other
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
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
# Begin cabal-rpm deps:
BuildRequires: ghc-bytestring-devel BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-conduit-devel BuildRequires: ghc-conduit-devel
BuildRequires: ghc-conduit-extra-devel BuildRequires: ghc-conduit-extra-devel
BuildRequires: ghc-cryptonite-devel BuildRequires: ghc-cryptonite-devel
BuildRequires: ghc-memory-devel
BuildRequires: ghc-resourcet-devel BuildRequires: ghc-resourcet-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
BuildRequires: ghc-transformers-devel BuildRequires: ghc-transformers-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# End cabal-rpm deps %if %{with tests}
BuildRequires: ghc-conduit-combinators-devel
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-hunit-devel
%endif
%description %description
Conduit bridge for cryptonite Conduit bridge for cryptonite
For now only provide a conduit version for hash, but with contribution, this For now only provide a conduit version for hash and hmac, but with
could provide cipher conduits too, and probably other things. contribution, this could provide cipher conduits too, and probably other
things.
%package devel %package devel
Summary: Haskell %{pkg_name} library development files Summary: Haskell %{pkg_name} library development files
@ -58,14 +64,14 @@ files.
%prep %prep
%setup -q -n %{pkg_name}-%{version} %setup -q -n %{pkg_name}-%{version}
%build %build
%ghc_lib_build %ghc_lib_build
%install %install
%ghc_lib_install %ghc_lib_install
%check
%cabal_test
%post devel %post devel
%ghc_pkg_recache %ghc_pkg_recache