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 b71bc53..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,31 +17,37 @@ %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 -Group: System/Libraries +Group: Development/Languages/Other Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel -# Begin cabal-rpm deps: 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 -# End cabal-rpm deps +%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 @@ -58,14 +64,14 @@ files. %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install +%check +%cabal_test %post devel %ghc_pkg_recache