Hello community,

here is the log from the commit of package ghc-adler32 for openSUSE:Factory 
checked in at 2017-06-21 13:54:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-adler32 (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-adler32.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-adler32"

Wed Jun 21 13:54:45 2017 rev:2 rq:504657 version:0.1.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-adler32/ghc-adler32.changes  2017-04-12 
17:13:02.286255230 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-adler32.new/ghc-adler32.changes     
2017-06-21 13:54:48.867489524 +0200
@@ -1,0 +2,5 @@
+Mon Jun 12 09:41:39 UTC 2017 - [email protected]
+
+- Update to version 0.1.1.0 revision 1.
+
+-------------------------------------------------------------------

New:
----
  adler32.cabal

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-adler32.spec ++++++
--- /var/tmp/diff_new_pack.3kwwOw/_old  2017-06-21 13:54:50.023326482 +0200
+++ /var/tmp/diff_new_pack.3kwwOw/_new  2017-06-21 13:54:50.027325918 +0200
@@ -26,6 +26,7 @@
 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
+Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-rpm-macros
@@ -37,14 +38,14 @@
 
 %description
 This package provides an implementation of the Adler-32 checksum algorithm.
-In supports a rolling checksum mode, i.e. the checksum of a sliding window of
+It supports a rolling checksum mode, i.e. the checksum of a sliding window of
 the input message can be computed efficiently. It also supports compounding,
 i.e. the checksum of the concatenation of two messages can be efficiently
 computed from the checksums of the two parts.
 
 By default, the highly optimized implementation of Adler-32 from 'zlib' will be
-used. This can be disabled in which case a pure haskell implementation will be
-used instead. The haskell version is 2 to 3 times slower on my system.
+used. This can be disabled, in which case a pure haskell implementation will be
+used instead. On my system, the haskell version is 2 to 3 times slower.
 
 %package devel
 Summary:        Haskell %{pkg_name} library development files
@@ -60,6 +61,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ adler32.cabal ++++++
name:                adler32
version:             0.1.1.0
x-revision: 1
synopsis:            An implementation of Adler-32, supporting rolling checksum 
operation
description:
  This package provides an implementation of the Adler-32 checksum algorithm.
  It supports a rolling checksum mode, i.e. the checksum of a sliding window
  of the input message can be computed efficiently. It also supports
  compounding, i.e. the checksum of the concatenation of two messages can be
  efficiently computed from the checksums of the two parts.
  .
  By default, the highly optimized implementation of Adler-32 from @zlib@
  will be used. This can be disabled, in which case a pure haskell
  implementation will be used instead. On my system, the haskell version
  is 2 to 3 times slower.
homepage:            https://github.com/redneb/hs-adler32
bug-reports:         https://github.com/redneb/hs-adler32/issues
license:             BSD3
license-file:        LICENSE
author:              Marios Titas <rednebΑΤgmxDΟΤcom>
maintainer:          Marios Titas <rednebΑΤgmxDΟΤcom>
category:            Cryptography, Hash
build-type:          Simple
cabal-version:       >=1.10

extra-source-files:
  ChangeLog.md

source-repository head
  type: git
  location: https://github.com/redneb/hs-adler32.git

flag zlib
  description:         Bind to zlib and use the implementation of Adler-32 from 
there
  default:             True

library
  exposed-modules:     Data.Digest.Adler32
  -- other-modules:       
  build-depends:         base >=4.6 && <5
                       , bytestring >=0.10.2
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall
  if flag(zlib)
    cpp-options:       -DUSE_ZLIB
    if !os(windows)
      extra-libraries: z
    else
      build-depends:   zlib

test-suite test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      tests
  main-is:             tests.hs
  build-depends:         base
                       , adler32
                       , hspec >=2
                       , bytestring
  default-language:    Haskell2010
  ghc-options:         -Wall

Reply via email to