update to 0.11.9

This commit is contained in:
Jens Petersen 2017-02-22 21:49:56 +09:00
parent 83ee651698
commit d6b29ac8fa
3 changed files with 42 additions and 13 deletions

3
.gitignore vendored
View File

@ -3,3 +3,6 @@
/cryptohash-0.8.3.tar.gz
/cryptohash-0.8.4.tar.gz
/cryptohash-0.9.0.tar.gz
/cryptohash-0.11.9.tar.gz
/memory-0.14.1.tar.gz
/cryptonite-0.21.tar.gz

View File

@ -1,31 +1,39 @@
# generated by cabal-rpm-0.11.1
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name cryptohash
%global pkgver %{pkg_name}-%{version}
%global cryptonite cryptonite-0.21
%global memory memory-0.14.1
%global subpkgs %{memory} %{cryptonite}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.9.0
Release: 9%{?dist}
Version: 0.11.9
Release: 1%{?dist}
Summary: Collection of crypto hashes, fast, pure and practical
License: BSD
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/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{cryptonite}/%{cryptonite}.tar.gz
Source2: https://hackage.haskell.org/package/%{memory}/%{memory}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-rpm-macros-extra
# Begin cabal-rpm deps:
BuildRequires: ghc-byteable-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-cereal-devel
BuildRequires: ghc-crypto-api-devel
BuildRequires: ghc-tagged-devel
#BuildRequires: ghc-cryptonite-devel
#BuildRequires: ghc-memory-devel
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-test-framework-devel
BuildRequires: ghc-test-framework-hunit-devel
BuildRequires: ghc-test-framework-quickcheck2-devel
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-hunit-devel
BuildRequires: ghc-tasty-quickcheck-devel
%endif
# End cabal-rpm deps
@ -48,18 +56,30 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
This package provides the Haskell %{pkg_name} library development files.
%global main_version %{version}
%if %{defined ghclibdir}
%ghc_lib_subpackage %{cryptonite}
%ghc_lib_subpackage %{memory}
%endif
%global version %{main_version}
%prep
%setup -q -n %{pkg_name}-%{version}
%setup -q -n %{pkgver} -a1 -a2
%build
%ghc_libs_build %{subpkgs}
%ghc_lib_build
%install
%ghc_libs_install %{subpkgs}
%ghc_lib_install
rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/README.md
%ghc_fix_rpath %{subpkgs}
%check
@ -83,6 +103,10 @@ rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/README.md
%changelog
* Wed Feb 22 2017 Jens Petersen <petersen@redhat.com> - 0.11.9-1
- update to 0.11.9
- subpackage new deps
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

View File

@ -1 +1,3 @@
afb532160d03a0eac40c7a37786e7ec8 cryptohash-0.9.0.tar.gz
SHA512 (memory-0.14.1.tar.gz) = 12f8d8f3d14dc060b5da9950ddef398ac55464cf79438c501ba8eaa222817d474c191463fd5f97ed460f5ca4af6d3b643363eb2cca278c583cc14e442fe669cf
SHA512 (cryptonite-0.21.tar.gz) = 7f04ad5f7411bf90f343c13b71438fdd0e1e40cc5c9a5f1553c1f396a278f81cbe3a548ee8bc03b3b63bc66485ce36dc9a93c3dc3e5884f601bbae49efa98cc3
SHA512 (cryptohash-0.11.9.tar.gz) = d0eb07f59ae893df1a92a4dc45a98142e507ba3da25057ae4acf781b1b6200a2fb68dd2a19f1ba5f9395217bc81e7be1311a479dc3dcb4ec5338518a2f5239af