update to 0.0.1.4
refresh to cabal-rpm-2.1.0 with SPDX migration
This commit is contained in:
parent
dca89ed4b8
commit
d47cb738fa
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@
|
|||||||
/digest-0.0.1.1.tar.gz
|
/digest-0.0.1.1.tar.gz
|
||||||
/digest-0.0.1.2.tar.gz
|
/digest-0.0.1.2.tar.gz
|
||||||
/digest-0.0.1.3.tar.gz
|
/digest-0.0.1.3.tar.gz
|
||||||
|
/digest-0.0.1.4.tar.gz
|
||||||
|
45
digest-0.0.1.4.cabal
Normal file
45
digest-0.0.1.4.cabal
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
name: digest
|
||||||
|
version: 0.0.1.4
|
||||||
|
x-revision: 1
|
||||||
|
copyright: (c) 2009 Eugene Kirpichov
|
||||||
|
license: BSD3
|
||||||
|
license-file: LICENSE
|
||||||
|
author: Eugene Kirpichov <ekirpichov@gmail.com>
|
||||||
|
maintainer: Eugene Kirpichov <ekirpichov@gmail.com>
|
||||||
|
category: Cryptography
|
||||||
|
synopsis: Various hashes for bytestrings; CRC32 and Adler32 for now.
|
||||||
|
description: This package provides efficient hash implementations for
|
||||||
|
strict and lazy bytestrings. For now, CRC32 and Adler32 are supported;
|
||||||
|
they are implemented as FFI bindings to efficient code from zlib.
|
||||||
|
stability: provisional
|
||||||
|
build-type: Simple
|
||||||
|
cabal-version: >= 1.10
|
||||||
|
tested-with:
|
||||||
|
GHC==8.10.7
|
||||||
|
, GHC==9.0.2
|
||||||
|
, GHC==9.2.5
|
||||||
|
, GHC==9.4.3
|
||||||
|
|
||||||
|
extra-source-files:
|
||||||
|
testing/trivial-reference.c
|
||||||
|
testing/trivial.expected
|
||||||
|
testing/trivial.hs
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/TeofilC/digest
|
||||||
|
|
||||||
|
library
|
||||||
|
exposed-modules: Data.Digest.CRC32,
|
||||||
|
Data.Digest.Adler32
|
||||||
|
default-extensions: CPP, ForeignFunctionInterface
|
||||||
|
default-language: Haskell2010
|
||||||
|
build-depends:
|
||||||
|
base < 5
|
||||||
|
, bytestring >= 0.9 && < 0.12
|
||||||
|
includes: zlib.h
|
||||||
|
ghc-options: -Wall
|
||||||
|
if !os(windows)
|
||||||
|
pkgconfig-depends: zlib
|
||||||
|
else
|
||||||
|
build-depends: zlib
|
@ -1,32 +1,39 @@
|
|||||||
# generated by cabal-rpm-2.0.9
|
# generated by cabal-rpm-2.1.0
|
||||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||||
|
|
||||||
%global pkg_name digest
|
%global pkg_name digest
|
||||||
%global pkgver %{pkg_name}-%{version}
|
%global pkgver %{pkg_name}-%{version}
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.0.1.3
|
Version: 0.0.1.4
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Cryptographic hashes for bytestrings
|
Summary: Cryptographic hashes for bytestrings
|
||||||
|
|
||||||
License: BSD
|
# license file is BSD2
|
||||||
|
License: BSD-2-Clause
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
# Begin cabal-rpm sources:
|
# Begin cabal-rpm sources:
|
||||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||||
|
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
||||||
# End cabal-rpm sources
|
# End cabal-rpm sources
|
||||||
|
|
||||||
# Begin cabal-rpm deps:
|
# Begin cabal-rpm deps:
|
||||||
|
BuildRequires: dos2unix
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
|
BuildRequires: ghc-base-devel
|
||||||
|
BuildRequires: ghc-bytestring-devel
|
||||||
|
%if %{with ghc_prof}
|
||||||
BuildRequires: ghc-base-prof
|
BuildRequires: ghc-base-prof
|
||||||
BuildRequires: ghc-bytestring-prof
|
BuildRequires: ghc-bytestring-prof
|
||||||
BuildRequires: zlib-devel
|
%endif
|
||||||
|
BuildRequires: pkgconfig(zlib)
|
||||||
# End cabal-rpm deps
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides efficient cryptographic hash implementations for
|
This package provides efficient hash implementations for strict and lazy
|
||||||
strict and lazy bytestrings. For now, CRC32 and Adler32 are supported;
|
bytestrings. For now, CRC32 and Adler32 are supported; they are implemented as
|
||||||
they are implemented as FFI bindings to efficient code from zlib.
|
FFI bindings to efficient code from zlib.
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
@ -38,7 +45,7 @@ Requires: ghc-compiler = %{ghc_version}
|
|||||||
%endif
|
%endif
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
# Begin cabal-rpm deps:
|
# Begin cabal-rpm deps:
|
||||||
Requires: zlib-devel%{?_isa}
|
Requires: pkgconfig(zlib)
|
||||||
# End cabal-rpm deps
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -70,6 +77,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
%prep
|
%prep
|
||||||
# Begin cabal-rpm setup:
|
# Begin cabal-rpm setup:
|
||||||
%setup -q -n %{pkgver}
|
%setup -q -n %{pkgver}
|
||||||
|
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
|
||||||
# End cabal-rpm setup
|
# End cabal-rpm setup
|
||||||
|
|
||||||
|
|
||||||
@ -106,6 +114,10 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 0.0.1.4-1
|
||||||
|
- https://hackage.haskell.org/package/digest-0.0.1.4/changelog
|
||||||
|
- refresh to cabal-rpm-2.1.0 with SPDX migration
|
||||||
|
|
||||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1.3-5
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1.3-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (digest-0.0.1.3.tar.gz) = 2b4a6f58dc70ea18e359ddaa93088bfbefa96c6c37f256cf0c75bdd61087a874584d8a1d47176adb114a4399400b866d7911c12a2c8c1ebafee3398ca58caba2
|
SHA512 (digest-0.0.1.4.tar.gz) = b43dfa57c89aae845dc58202b5011e6c3df622ab63155ad775a4676d9c79d6b8828bf8f9545d2c0d11c44fcfcc120d906e1b126a6a42a8a0f21aa1812c9c5b0a
|
||||||
|
Loading…
Reference in New Issue
Block a user