From dd4f95560a7863a33c7d16df9372eb92bd6506a3b9dab79f5b4798e074d83e0e Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 22 Feb 2017 17:40:28 +0000 Subject: [PATCH] synchronize with lts-8 package sett from configuration 0cb270c8d22a0823ab5130d95cc499e186cf864e OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-cryptonite-conduit?expand=0&rev=4 --- cryptonite-conduit-0.1.tar.gz | 3 --- cryptonite-conduit-0.2.0.tar.gz | 3 +++ ghc-cryptonite-conduit.changes | 5 +++++ ghc-cryptonite-conduit.spec | 19 +++++++++++++++---- 4 files changed, 23 insertions(+), 7 deletions(-) delete mode 100644 cryptonite-conduit-0.1.tar.gz create mode 100644 cryptonite-conduit-0.2.0.tar.gz diff --git a/cryptonite-conduit-0.1.tar.gz b/cryptonite-conduit-0.1.tar.gz deleted file mode 100644 index 418be88..0000000 --- a/cryptonite-conduit-0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a79cd5bc2f86093bbc45290889ca5a9c502804a3c19188874bc2ff3f2a97aac0 -size 2368 diff --git a/cryptonite-conduit-0.2.0.tar.gz b/cryptonite-conduit-0.2.0.tar.gz new file mode 100644 index 0000000..27e47d7 --- /dev/null +++ b/cryptonite-conduit-0.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:15edae989ad62b0bdaf817bba8e711323b22d3a3466025f778a54757ba567628 +size 3372 diff --git a/ghc-cryptonite-conduit.changes b/ghc-cryptonite-conduit.changes index 88551d7..63618db 100644 --- a/ghc-cryptonite-conduit.changes +++ b/ghc-cryptonite-conduit.changes @@ -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 diff --git a/ghc-cryptonite-conduit.spec b/ghc-cryptonite-conduit.spec index 26e3979..075f588 100644 --- a/ghc-cryptonite-conduit.spec +++ b/ghc-cryptonite-conduit.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,9 @@ %global pkg_name cryptonite-conduit +%bcond_with tests Name: ghc-%{pkg_name} -Version: 0.1 +Version: 0.2.0 Release: 0 Summary: Cryptonite conduit License: BSD-3-Clause @@ -30,16 +31,23 @@ BuildRequires: ghc-bytestring-devel BuildRequires: ghc-conduit-devel BuildRequires: ghc-conduit-extra-devel BuildRequires: ghc-cryptonite-devel +BuildRequires: ghc-memory-devel BuildRequires: ghc-resourcet-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-transformers-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if %{with tests} +BuildRequires: ghc-conduit-combinators-devel +BuildRequires: ghc-tasty-devel +BuildRequires: ghc-tasty-hunit-devel +%endif %description Conduit bridge for cryptonite -For now only provide a conduit version for hash, but with contribution, this -could provide cipher conduits too, and probably other things. +For now only provide a conduit version for hash and hmac, but with +contribution, this could provide cipher conduits too, and probably other +things. %package devel Summary: Haskell %{pkg_name} library development files @@ -62,6 +70,9 @@ files. %install %ghc_lib_install +%check +%cabal_test + %post devel %ghc_pkg_recache