diff --git a/.gitignore b/.gitignore index 312b162..27399af 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /digest-0.0.1.2.tar.gz /digest-0.0.1.3.tar.gz /digest-0.0.1.4.tar.gz +/digest-0.0.1.7.tar.gz diff --git a/digest-0.0.1.4.cabal b/digest-0.0.1.4.cabal deleted file mode 100644 index a7447f8..0000000 --- a/digest-0.0.1.4.cabal +++ /dev/null @@ -1,45 +0,0 @@ -name: digest -version: 0.0.1.4 -x-revision: 1 -copyright: (c) 2009 Eugene Kirpichov -license: BSD3 -license-file: LICENSE -author: Eugene Kirpichov -maintainer: Eugene Kirpichov -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 diff --git a/ghc-digest.spec b/ghc-digest.spec index 1a1711d..8dac077 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -1,24 +1,21 @@ -# generated by cabal-rpm-2.1.0 +# generated by cabal-rpm-2.1.2 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name digest %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.0.1.4 +Version: 0.0.1.7 Release: %autorelease -Summary: Cryptographic hashes for bytestrings +Summary: CRC32 and Adler32 hashes for bytestrings -# license file is BSD2 License: BSD-2-Clause Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: 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 # Begin cabal-rpm deps: -BuildRequires: dos2unix BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-devel @@ -77,7 +74,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -100,6 +96,7 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal %files devel -f %{name}-devel.files +%doc CHANGELOG.md %if %{with haddock} diff --git a/sources b/sources index e4f0723..8367c30 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (digest-0.0.1.4.tar.gz) = b43dfa57c89aae845dc58202b5011e6c3df622ab63155ad775a4676d9c79d6b8828bf8f9545d2c0d11c44fcfcc120d906e1b126a6a42a8a0f21aa1812c9c5b0a +SHA512 (digest-0.0.1.7.tar.gz) = 2739d35ce55a9524b7492aca78752fbe5f168167b37327c693fd1b51a88d23cc22767e52bc6220a053100c6c8579f060adb9f337368b606213b397e76b5868d1