commit ghc-zlib for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-zlib for openSUSE:Factory 
checked in at 2020-08-28 21:42:03

Comparing /work/SRC/openSUSE:Factory/ghc-zlib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-zlib.new.3399 (New)


Package is "ghc-zlib"

Fri Aug 28 21:42:03 2020 rev:21 rq:829515 version:0.6.2.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-zlib/ghc-zlib.changes2020-08-10 
14:56:21.947948782 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-zlib.new.3399/ghc-zlib.changes  
2020-08-28 21:42:05.764903128 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:46:49 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-zlib.spec ++
--- /var/tmp/diff_new_pack.pSW7Gk/_old  2020-08-28 21:42:06.304903326 +0200
+++ /var/tmp/diff_new_pack.pSW7Gk/_new  2020-08-28 21:42:06.308903328 +0200
@@ -58,7 +58,7 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 
 %build
 %ghc_lib_build




commit ghc-zlib for openSUSE:Factory

2020-08-10 Thread root
Hello community,

here is the log from the commit of package ghc-zlib for openSUSE:Factory 
checked in at 2020-08-10 14:56:02

Comparing /work/SRC/openSUSE:Factory/ghc-zlib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-zlib.new.3399 (New)


Package is "ghc-zlib"

Mon Aug 10 14:56:02 2020 rev:20 rq:824317 version:0.6.2.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-zlib/ghc-zlib.changes2020-06-19 
17:22:02.927658425 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-zlib.new.3399/ghc-zlib.changes  
2020-08-10 14:56:21.947948782 +0200
@@ -1,0 +2,11 @@
+Tue Aug  4 09:04:41 UTC 2020 - psim...@suse.com
+
+- Update zlib to version 0.6.2.2.
+  0.6.2.2 Julian Ospald  August 2020
+
+   * Bump bundled zlib to 1.2.11, fixes #26
+   * New build flag to force use of the bundled zlib C sources, #31
+   * Simpler build support for ghcjs, #25
+   * Add support for GHC 8.10 / base-4.14, #29
+
+---

Old:

  zlib-0.6.2.1.tar.gz
  zlib.cabal

New:

  zlib-0.6.2.2.tar.gz



Other differences:
--
++ ghc-zlib.spec ++
--- /var/tmp/diff_new_pack.TIt9gi/_old  2020-08-10 14:56:26.023950934 +0200
+++ /var/tmp/diff_new_pack.TIt9gi/_new  2020-08-10 14:56:26.023950934 +0200
@@ -19,13 +19,12 @@
 %global pkg_name zlib
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.6.2.1
+Version:0.6.2.2
 Release:0
 Summary:Compression and decompression in the gzip and zlib formats
 License:BSD-2-Clause
 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
@@ -60,7 +59,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ zlib-0.6.2.1.tar.gz -> zlib-0.6.2.2.tar.gz ++
 4111 lines of diff (skipped)




commit ghc-zlib for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-zlib for openSUSE:Factory 
checked in at 2020-06-19 17:21:58

Comparing /work/SRC/openSUSE:Factory/ghc-zlib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-zlib.new.3606 (New)


Package is "ghc-zlib"

Fri Jun 19 17:21:58 2020 rev:19 rq:815228 version:0.6.2.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-zlib/ghc-zlib.changes2020-05-11 
13:37:08.480587759 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-zlib.new.3606/ghc-zlib.changes  
2020-06-19 17:22:02.927658425 +0200
@@ -1,0 +2,5 @@
+Tue Jun 16 11:14:55 UTC 2020 - Peter Simons 
+
+- Re-generate file with latest version of spec-cleaner.
+
+---



Other differences:
--
++ ghc-zlib.spec ++
--- /var/tmp/diff_new_pack.vHcdsM/_old  2020-06-19 17:22:04.399662707 +0200
+++ /var/tmp/diff_new_pack.vHcdsM/_new  2020-06-19 17:22:04.399662707 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-zlib
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed




commit ghc-zlib for openSUSE:Factory

2020-05-11 Thread root
Hello community,

here is the log from the commit of package ghc-zlib for openSUSE:Factory 
checked in at 2020-05-11 13:37:04

Comparing /work/SRC/openSUSE:Factory/ghc-zlib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-zlib.new.2738 (New)


Package is "ghc-zlib"

Mon May 11 13:37:04 2020 rev:18 rq:801068 version:0.6.2.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-zlib/ghc-zlib.changes2019-12-27 
13:59:29.908836024 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-zlib.new.2738/ghc-zlib.changes  
2020-05-11 13:37:08.480587759 +0200
@@ -1,0 +2,5 @@
+Thu May  7 08:08:29 UTC 2020 - Peter Simons 
+
+- Update Cabal file to get more accurate dependency information.
+
+---

New:

  zlib.cabal



Other differences:
--
++ ghc-zlib.spec ++
--- /var/tmp/diff_new_pack.goIC4e/_old  2020-05-11 13:37:09.376589637 +0200
+++ /var/tmp/diff_new_pack.goIC4e/_new  2020-05-11 13:37:09.376589637 +0200
@@ -25,6 +25,7 @@
 License:BSD-2-Clause
 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
@@ -59,6 +60,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ zlib.cabal ++
cabal-version:   >= 1.10
name:zlib
version: 0.6.2.1
x-revision: 1

copyright:   (c) 2006-2016 Duncan Coutts
license: BSD3
license-file:LICENSE
author:  Duncan Coutts 
maintainer:  Duncan Coutts 
bug-reports: https://github.com/haskell/zlib/issues
category:Codec
synopsis:Compression and decompression in the gzip and zlib formats
description: This package provides a pure interface for compressing and 
 decompressing streams of data represented as lazy 
 'ByteString's. It uses the
 
 so it has high performance. It supports the \"zlib\",
 \"gzip\" and \"raw\" compression formats.
 .
 It provides a convenient high level API suitable for most
 tasks and for the few cases where more control is needed it
 provides access to the full zlib feature set.
build-type:  Simple
tested-with: GHC ==7.0.4, GHC ==7.2.2, GHC ==7.4.2, GHC ==7.6.3, GHC 
==7.8.4, GHC ==7.10.3, GHC ==8.0.1, GHC==8.0.2, GHC ==8.2.2, GHC ==8.4.4, 
GHC==8.6.5, GHC==8.8.3, GHC==8.10.1

extra-source-files: changelog
-- zlib C sources (for Windows)
cbits/crc32.h cbits/inffast.h cbits/inflate.h
cbits/trees.h cbits/deflate.h cbits/inffixed.h
cbits/inftrees.h cbits/zutil.h cbits/gzguts.h
-- test data files
test/data/bad-crc.gz test/data/custom-dict.zlib
test/data/custom-dict.zlib-dict test/data/hello.gz
test/data/not-gzip test/data/two-files.gz
-- demo programs:
examples/gzip.hs examples/gunzip.hs

source-repository head
  type: git
  location: https://github.com/haskell/zlib.git

flag non-blocking-ffi
  default: False
  manual:  True
  description: The (de)compression calls can sometimes take a long time, which
   prevents other Haskell threads running. Enabling this flag
   avoids this unfairness, but with greater overall cost.

flag pkg-config
  default: False
  manual:  True
  description: Use @pkg-config(1)@ to locate foreign @zlib@ library.

library
  exposed-modules: Codec.Compression.GZip,
   Codec.Compression.Zlib,
   Codec.Compression.Zlib.Raw,
   Codec.Compression.Zlib.Internal
  other-modules:   Codec.Compression.Zlib.Stream
  if impl(ghc < 7)
default-language: Haskell98
default-extensions: PatternGuards
  else
default-language: Haskell2010
  other-extensions: CPP, ForeignFunctionInterface, RankNTypes, BangPatterns,
DeriveDataTypeable
  if impl(ghc >= 7.2)
other-extensions: DeriveGeneric
  if impl(ghc >= 7.6)
other-extensions: CApiFFI
  build-depends:   base >= 4 && < 4.15,
   bytestring >= 0.9 && < 0.11
  if impl(ghc >= 7.2 && < 7.6)
build-depends: ghc-prim
  includes:zlib.h
  ghc-options: -Wall -fwarn-tabs
  if flag(non-blocking-ffi)
cpp-options:  

commit ghc-zlib for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-zlib for openSUSE:Factory 
checked in at 2019-12-27 13:59:27

Comparing /work/SRC/openSUSE:Factory/ghc-zlib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-zlib.new.6675 (New)


Package is "ghc-zlib"

Fri Dec 27 13:59:27 2019 rev:17 rq:759570 version:0.6.2.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-zlib/ghc-zlib.changes2019-08-29 
17:23:52.095303993 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-zlib.new.6675/ghc-zlib.changes  
2019-12-27 13:59:29.908836024 +0100
@@ -1,0 +2,5 @@
+Fri Nov  8 16:15:18 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---



Other differences:
--
++ ghc-zlib.spec ++
--- /var/tmp/diff_new_pack.OH1EXy/_old  2019-12-27 13:59:30.564836340 +0100
+++ /var/tmp/diff_new_pack.OH1EXy/_new  2019-12-27 13:59:30.568836343 +0100
@@ -23,7 +23,6 @@
 Release:0
 Summary:Compression and decompression in the gzip and zlib formats
 License:BSD-2-Clause
-Group:  Development/Libraries/Haskell
 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
@@ -49,7 +48,6 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires:   zlib-devel




commit ghc-zlib for openSUSE:Factory

2019-08-29 Thread root
Hello community,

here is the log from the commit of package ghc-zlib for openSUSE:Factory 
checked in at 2019-08-29 17:23:51

Comparing /work/SRC/openSUSE:Factory/ghc-zlib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-zlib.new.7948 (New)


Package is "ghc-zlib"

Thu Aug 29 17:23:51 2019 rev:16 rq:726820 version:0.6.2.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-zlib/ghc-zlib.changes2018-10-25 
09:07:58.886446230 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-zlib.new.7948/ghc-zlib.changes  
2019-08-29 17:23:52.095303993 +0200
@@ -1,0 +2,10 @@
+Tue Aug 27 02:01:52 UTC 2019 - psim...@suse.com
+
+- Update zlib to version 0.6.2.1.
+  See also http://pvp.haskell.org/faq
+
+  0.6.2.1 Herbert Valerio Riedel  August 2019
+
+   * Add support for GHC 8.8 / base-4.13
+
+---

Old:

  zlib-0.6.2.tar.gz

New:

  zlib-0.6.2.1.tar.gz



Other differences:
--
++ ghc-zlib.spec ++
--- /var/tmp/diff_new_pack.3bqk5Y/_old  2019-08-29 17:23:52.671303896 +0200
+++ /var/tmp/diff_new_pack.3bqk5Y/_new  2019-08-29 17:23:52.675303896 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-zlib
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -19,7 +19,7 @@
 %global pkg_name zlib
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.6.2
+Version:0.6.2.1
 Release:0
 Summary:Compression and decompression in the gzip and zlib formats
 License:BSD-2-Clause

++ zlib-0.6.2.tar.gz -> zlib-0.6.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zlib-0.6.2/Codec/Compression/Zlib/Stream.hsc 
new/zlib-0.6.2.1/Codec/Compression/Zlib/Stream.hsc
--- old/zlib-0.6.2/Codec/Compression/Zlib/Stream.hsc2018-03-08 
16:13:31.0 +0100
+++ new/zlib-0.6.2.1/Codec/Compression/Zlib/Stream.hsc  2001-09-09 
03:46:40.0 +0200
@@ -123,6 +123,9 @@
 import Control.Applicative (Applicative(..))
 #endif
 import Control.Monad (ap,liftM)
+#if MIN_VERSION_base(4,9,0)
+import qualified Control.Monad.Fail as Fail
+#endif
 #if __GLASGOW_HASKELL__ >= 702
 #if __GLASGOW_HASKELL__ >= 708
 import Control.Monad.ST.Strict
@@ -373,8 +376,21 @@
   (>>=)  = thenZ
 --  m >>= f = (m `thenZ` \a -> consistencyCheck `thenZ_` returnZ a) `thenZ` f
   (>>)   = (*>)
+
+#if !MIN_VERSION_base(4,8,0)
   return = pure
+#endif
+
+#if !MIN_VERSION_base(4,9,0)
   fail   = (finalise >>) . failZ
+#elif !MIN_VERSION_base(4,13,0)
+  fail   = Fail.fail
+#endif
+
+#if MIN_VERSION_base(4,9,0)
+instance Fail.MonadFail Stream where
+  fail   = (finalise >>) . failZ
+#endif
 
 returnZ :: a -> Stream a
 returnZ a = Z $ \_ inBuf outBuf outOffset outLength ->
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zlib-0.6.2/changelog new/zlib-0.6.2.1/changelog
--- old/zlib-0.6.2/changelog2018-03-08 16:13:31.0 +0100
+++ new/zlib-0.6.2.1/changelog  2001-09-09 03:46:40.0 +0200
@@ -1,3 +1,9 @@
+See also http://pvp.haskell.org/faq
+
+0.6.2.1 Herbert Valerio Riedel  August 2019
+
+ * Add support for GHC 8.8 / base-4.13
+
 0.6.2 Herbert Valerio Riedel  March 2018
 
  * New cabal flag 'pkg-config' for discovering 'zlib` via pkg-config(1) (#16)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zlib-0.6.2/zlib.cabal new/zlib-0.6.2.1/zlib.cabal
--- old/zlib-0.6.2/zlib.cabal   2018-03-08 16:13:31.0 +0100
+++ new/zlib-0.6.2.1/zlib.cabal 2001-09-09 03:46:40.0 +0200
@@ -1,5 +1,7 @@
+cabal-version:   >= 1.10
 name:zlib
-version: 0.6.2
+version: 0.6.2.1
+
 copyright:   (c) 2006-2016 Duncan Coutts
 license: BSD3
 license-file:LICENSE
@@ -19,8 +21,7 @@
  tasks and for the few cases where more control is needed it
  provides access to the full zlib feature set.
 build-type:  Simple
-cabal-version:   >= 1.10
-tested-with: GHC ==7.0.4, GHC ==7.2.2, GHC ==7.4.2, GHC ==7.6.3, GHC 
==7.8.4, GHC ==7.10.3, GHC ==8.0.1, GHC==8.0.2, GHC ==8.2.2, GHC ==8.4.1
+tested-with: GHC ==7.0.4, GHC ==7.2.2, GHC ==7.4.2, GHC ==7.6.3, GHC 
==7.8.4, GHC ==7.10.3, GHC ==8.0.1, GHC==8.0.2, GHC ==8.2.2, GHC ==8.4.4, 
GHC==8.6.4
 
 extra-source-files: changelog
 -- zlib C sources (for Windows)
@@ -67,8 +68,8 @@
 other-extensions: DeriveGeneric
   if impl(ghc >= 7.6)
 other-extensions: CApiFFI
-  build-depends:   base >= 4 && < 5,
-   

commit ghc-zlib for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package ghc-zlib for openSUSE:Factory 
checked in at 2018-10-25 09:07:56

Comparing /work/SRC/openSUSE:Factory/ghc-zlib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-zlib.new (New)


Package is "ghc-zlib"

Thu Oct 25 09:07:56 2018 rev:15 rq:643497 version:0.6.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-zlib/ghc-zlib.changes2018-07-21 
10:24:37.002966248 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-zlib.new/ghc-zlib.changes   2018-10-25 
09:07:58.886446230 +0200
@@ -1,0 +2,5 @@
+Sat Oct 20 11:32:17 UTC 2018 - Peter Simons 
+
+- Use https URL to refer to bugs.opensuse.org.
+
+---



Other differences:
--
++ ghc-zlib.spec ++
--- /var/tmp/diff_new_pack.LKtcFg/_old  2018-10-25 09:07:59.974445581 +0200
+++ /var/tmp/diff_new_pack.LKtcFg/_new  2018-10-25 09:07:59.978445579 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 




commit ghc-zlib for openSUSE:Factory

2018-07-21 Thread root
Hello community,

here is the log from the commit of package ghc-zlib for openSUSE:Factory 
checked in at 2018-07-21 10:24:35

Comparing /work/SRC/openSUSE:Factory/ghc-zlib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-zlib.new (New)


Package is "ghc-zlib"

Sat Jul 21 10:24:35 2018 rev:14 rq:623902 version:0.6.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-zlib/ghc-zlib.changes2018-05-30 
12:28:01.988751775 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-zlib.new/ghc-zlib.changes   2018-07-21 
10:24:37.002966248 +0200
@@ -1,0 +2,6 @@
+Wed Jul 18 14:26:49 UTC 2018 - psim...@suse.com
+
+- Cosmetic: replace tabs with blanks, strip trailing white space,
+  and update copyright headers with spec-cleaner.
+
+---
@@ -104 +109,0 @@
-



Other differences:
--



commit ghc-zlib for openSUSE:Factory

2018-05-30 Thread root
Hello community,

here is the log from the commit of package ghc-zlib for openSUSE:Factory 
checked in at 2018-05-30 12:16:15

Comparing /work/SRC/openSUSE:Factory/ghc-zlib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-zlib.new (New)


Package is "ghc-zlib"

Wed May 30 12:16:15 2018 rev:13 rq:607960 version:0.6.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-zlib/ghc-zlib.changes2017-09-15 
22:28:42.441474337 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-zlib.new/ghc-zlib.changes   2018-05-30 
12:28:01.988751775 +0200
@@ -1,0 +2,8 @@
+Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
+
+- Update zlib to version 0.6.2.
+ * New cabal flag 'pkg-config' for discovering 'zlib` via pkg-config(1) (#16)
+ * Use CApiFFI where available for cross-compile friendliness (#14)
+ * Change the window bits range from 8..15 to 9..15 (#11)
+
+---

Old:

  zlib-0.6.1.2.tar.gz

New:

  zlib-0.6.2.tar.gz



Other differences:
--
++ ghc-zlib.spec ++
--- /var/tmp/diff_new_pack.910Pnz/_old  2018-05-30 12:28:02.748724932 +0200
+++ /var/tmp/diff_new_pack.910Pnz/_new  2018-05-30 12:28:02.752724789 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-zlib
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -19,7 +19,7 @@
 %global pkg_name zlib
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.6.1.2
+Version:0.6.2
 Release:0
 Summary:Compression and decompression in the gzip and zlib formats
 License:BSD-2-Clause
@@ -78,7 +78,7 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%doc LICENSE
+%license LICENSE
 
 %files devel -f %{name}-devel.files
 %doc changelog examples

++ zlib-0.6.1.2.tar.gz -> zlib-0.6.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zlib-0.6.1.2/Codec/Compression/Zlib/Stream.hsc 
new/zlib-0.6.2/Codec/Compression/Zlib/Stream.hsc
--- old/zlib-0.6.1.2/Codec/Compression/Zlib/Stream.hsc  2016-10-23 
20:13:38.0 +0200
+++ new/zlib-0.6.2/Codec/Compression/Zlib/Stream.hsc2018-03-08 
16:13:31.0 +0100
@@ -2,6 +2,9 @@
 #if __GLASGOW_HASKELL__ >= 702
 {-# LANGUAGE DeriveGeneric #-}
 #endif
+#if __GLASGOW_HASKELL__ >= 706
+{-# LANGUAGE CApiFFI #-}
+#endif
 -
 -- |
 -- Copyright   :  (c) 2006-2015 Duncan Coutts
@@ -709,8 +712,8 @@
 -- usage.
 --
 -- The compression window size is the value of the the window bits raised to
--- the power 2. The window bits must be in the range @8..15@ which corresponds
--- to compression window sizes of 256b to 32Kb. The default is 15 which is also
+-- the power 2. The window bits must be in the range @9..15@ which corresponds
+-- to compression window sizes of 512b to 32Kb. The default is 15 which is also
 -- the maximum size.
 --
 -- The total amount of memory used depends on the window bits and the
@@ -737,19 +740,19 @@
 defaultWindowBits :: WindowBits
 defaultWindowBits = WindowBits 15
 
--- | A specific compression window size, specified in bits in the range @8..15@
+-- | A specific compression window size, specified in bits in the range @9..15@
 --
 windowBits :: Int -> WindowBits
 windowBits n
-  | n >= 8 && n <= 15 = WindowBits n
-  | otherwise = error "WindowBits must be in the range 8..15"
+  | n >= 9 && n <= 15 = WindowBits n
+  | otherwise = error "WindowBits must be in the range 9..15"
 
 fromWindowBits :: Format -> WindowBits-> CInt
 fromWindowBits format bits = (formatModifier format) (checkWindowBits bits)
   where checkWindowBits DefaultWindowBits = 15
 checkWindowBits (WindowBits n)
-  | n >= 8 && n <= 15 = fromIntegral n
-  | otherwise = error "WindowBits must be in the range 8..15"
+  | n >= 9 && n <= 15 = fromIntegral n
+  | otherwise = error "WindowBits must be in the range 9..15"
 formatModifier Zlib   = id
 formatModifier GZip   = (+16)
 formatModifier GZipOrZlib = (+32)
@@ -1008,6 +1011,10 @@
 --
 -- So we define c_inflateInit2 and c_deflateInit2 here as wrappers around
 -- their _ counterparts and pass the extra args.
+--
+-- As of GHC 7.6, we can import macros directly using the CApiFFI extension.
+-- This avoids the need for the hsc2hs #{const_str} construct, which means
+-- hsc2hs can run in cross-compilation mode.
 
 ##ifdef NON_BLOCKING_FFI
 ##define SAFTY safe
@@ -1015,6 +1022,14 @@
 ##define SAFTY unsafe
 ##endif
 

commit ghc-zlib for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-zlib for openSUSE:Factory 
checked in at 2017-09-15 22:28:39

Comparing /work/SRC/openSUSE:Factory/ghc-zlib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-zlib.new (New)


Package is "ghc-zlib"

Fri Sep 15 22:28:39 2017 rev:12 rq:525762 version:0.6.1.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-zlib/ghc-zlib.changes2016-11-05 
21:27:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-zlib.new/ghc-zlib.changes   2017-09-15 
22:28:42.441474337 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---



Other differences:
--
++ ghc-zlib.spec ++
--- /var/tmp/diff_new_pack.jq7wRW/_old  2017-09-15 22:28:44.037249539 +0200
+++ /var/tmp/diff_new_pack.jq7wRW/_new  2017-09-15 22:28:44.037249539 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-zlib
 #
-# 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
@@ -23,14 +23,13 @@
 Release:0
 Summary:Compression and decompression in the gzip and zlib formats
 License:BSD-2-Clause
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{pkg_name}
+Group:  Development/Libraries/Haskell
+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
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  zlib-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-tasty-devel
@@ -50,7 +49,7 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires:   zlib-devel
@@ -79,11 +78,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc changelog examples
 
 %changelog




commit ghc-zlib for openSUSE:Factory

2016-11-05 Thread h_root
Hello community,

here is the log from the commit of package ghc-zlib for openSUSE:Factory 
checked in at 2016-11-05 21:27:22

Comparing /work/SRC/openSUSE:Factory/ghc-zlib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-zlib.new (New)


Package is "ghc-zlib"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-zlib/ghc-zlib.changes2016-07-20 
09:22:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-zlib.new/ghc-zlib.changes   2016-11-05 
21:27:23.0 +0100
@@ -1,0 +2,5 @@
+Sun Oct 30 16:26:14 UTC 2016 - psim...@suse.com
+
+- Update to version 0.6.1.2 with cabal2obs.
+
+---

Old:

  3.cabal
  zlib-0.6.1.1.tar.gz

New:

  zlib-0.6.1.2.tar.gz



Other differences:
--
++ ghc-zlib.spec ++
--- /var/tmp/diff_new_pack.LN5UsJ/_old  2016-11-05 21:27:24.0 +0100
+++ /var/tmp/diff_new_pack.LN5UsJ/_new  2016-11-05 21:27:24.0 +0100
@@ -19,34 +19,30 @@
 %global pkg_name zlib
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.6.1.1
+Version:0.6.1.2
 Release:0
 Summary:Compression and decompression in the gzip and zlib formats
 License:BSD-2-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
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  zlib-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
-BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-tasty-devel
 BuildRequires:  ghc-tasty-hunit-devel
 BuildRequires:  ghc-tasty-quickcheck-devel
 %endif
-# End cabal-rpm deps
 
 %description
 This package provides a pure interface for compressing and decompressing
-streams of data represented as lazy 'ByteString's. It uses the zlib C library
-so it has high performance. It supports the "zlib", "gzip" and "raw"
-compression formats.
+streams of data represented as lazy 'ByteString's. It uses the
+ so it has high performance.
+It supports the "zlib", "gzip" and "raw" compression formats.
 
 It provides a convenient high level API suitable for most tasks and for the few
 cases where more control is needed it provides access to the full zlib feature
@@ -57,33 +53,24 @@
 Group:  Development/Libraries/Other
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
-# Begin cabal-rpm deps:
 Requires:   zlib-devel
 Requires(post): ghc-compiler = %{ghc_version}
 Requires(postun): ghc-compiler = %{ghc_version}
-# End cabal-rpm deps
 
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
-
 
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache

++ zlib-0.6.1.1.tar.gz -> zlib-0.6.1.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zlib-0.6.1.1/Codec/Compression/Zlib/Internal.hs 
new/zlib-0.6.1.2/Codec/Compression/Zlib/Internal.hs
--- old/zlib-0.6.1.1/Codec/Compression/Zlib/Internal.hs 2015-05-16 
15:12:10.0 +0200
+++ new/zlib-0.6.1.2/Codec/Compression/Zlib/Internal.hs 2016-10-23 
20:13:38.0 +0200
@@ -78,12 +78,18 @@
 import Control.Exception (Exception, throw, assert)
 import Control.Monad.ST.Lazy hiding (stToIO)
 import Control.Monad.ST.Strict (stToIO)
+#if __GLASGOW_HASKELL__ >= 702
+import qualified Control.Monad.ST.Unsafe as Unsafe (unsafeIOToST)
+#else
+import qualified Control.Monad.ST.Strict as Unsafe (unsafeIOToST)
+#endif
 import Data.Typeable (Typeable)
 import qualified Data.ByteString.Lazy as L
 import qualified Data.ByteString.Lazy.Internal as L
 import qualified Data.ByteString  as S
 import qualified Data.ByteString.Internal as S
 import Data.Word (Word8)
+import GHC.IO (noDuplicate)
 
 import qualified Codec.Compression.Zlib.Stream as Stream
 import Codec.Compression.Zlib.Stream (Stream)
@@ -733,7 +739,7 @@
 
 runStreamST :: Stream a -> Stream.State s -> ST s (a, Stream.State s)
 runStreamIO :: Stream a -> Stream.State RealWorld -> IO (a, Stream.State 
RealWorld)
-runStreamST strm zstate = strictToLazyST (Stream.runStream strm zstate)
+runStreamST strm zstate = 

commit ghc-zlib for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

here is the log from the commit of package ghc-zlib for openSUSE:Factory 
checked in at 2016-07-20 09:22:47

Comparing /work/SRC/openSUSE:Factory/ghc-zlib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-zlib.new (New)


Package is "ghc-zlib"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-zlib/ghc-zlib.changes2016-01-07 
00:25:02.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-zlib.new/ghc-zlib.changes   2016-07-20 
09:22:49.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:32:48 UTC 2016 - psim...@suse.com
+
+- Update to version 0.6.1.1 revision 3 with cabal2obs.
+
+---

Old:

  _service

New:

  3.cabal



Other differences:
--
++ ghc-zlib.spec ++
--- /var/tmp/diff_new_pack.JJpuYn/_old  2016-07-20 09:22:50.0 +0200
+++ /var/tmp/diff_new_pack.JJpuYn/_new  2016-07-20 09:22:50.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-zlib
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -15,26 +15,24 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%global pkg_name zlib
 
+%global pkg_name zlib
 %bcond_with tests
-
-Name:   ghc-zlib
+Name:   ghc-%{pkg_name}
 Version:0.6.1.1
 Release:0 
 Summary:Compression and decompression in the gzip and zlib formats
-Group:  System/Libraries
-
 License:BSD-2-Clause
+Group:  System/Libraries
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-bytestring-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  zlib-devel
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-QuickCheck-devel
@@ -54,24 +52,23 @@
 cases where more control is needed it provides access to the full zlib feature
 set.
 
-
 %package devel
 Summary:Haskell %{pkg_name} library development files
 Group:  Development/Libraries/Other
-Requires:   ghc-compiler = %{ghc_version}
-Requires(post): ghc-compiler = %{ghc_version}
-Requires(postun): ghc-compiler = %{ghc_version}
 Requires:   %{name} = %{version}-%{release}
+Requires:   ghc-compiler = %{ghc_version}
 # Begin cabal-rpm deps:
 Requires:   zlib-devel
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
 # End cabal-rpm deps
 
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
 
-
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 
 %build
@@ -84,26 +81,22 @@
 
 %check
 %if %{with tests}
-%cabal test
+%{cabal} test
 %endif
 
 
 %post devel
 %ghc_pkg_recache
 
-
 %postun devel
 %ghc_pkg_recache
 
-
 %files -f %{name}.files
 %defattr(-,root,root,-)
 %doc LICENSE
 
-
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc examples
-
+%doc changelog examples
 
 %changelog

++ 3.cabal ++
name:zlib
version: 0.6.1.1
x-revision: 3
copyright:   (c) 2006-2015 Duncan Coutts
license: BSD3
license-file:LICENSE
author:  Duncan Coutts 
maintainer:  Duncan Coutts 
bug-reports: https://github.com/haskell/zlib/issues
category:Codec
synopsis:Compression and decompression in the gzip and zlib formats
description: This package provides a pure interface for compressing and 
 decompressing streams of data represented as lazy 
 'ByteString's. It uses the zlib C library so it has high
 performance. It supports the \"zlib\", \"gzip\" and \"raw\"
 compression formats.
 .
 It provides a convenient high level API suitable for most
 tasks and for the few cases where more control is needed it
 provides access to the full zlib feature set.
build-type:  Simple
cabal-version:   >= 1.10
extra-source-files: changelog
-- zlib C sources (for Windows)
cbits/crc32.h cbits/inffast.h cbits/inflate.h
  

commit ghc-zlib for openSUSE:Factory

2016-01-06 Thread h_root
Hello community,

here is the log from the commit of package ghc-zlib for openSUSE:Factory 
checked in at 2016-01-07 00:24:52

Comparing /work/SRC/openSUSE:Factory/ghc-zlib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-zlib.new (New)


Package is "ghc-zlib"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-zlib/ghc-zlib.changes2015-05-13 
07:12:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-zlib.new/ghc-zlib.changes   2016-01-07 
00:25:02.0 +0100
@@ -1,0 +2,14 @@
+Wed Dec 30 11:25:25 UTC 2015 - mimi...@gmail.com
+
+- update to 0.6.1.1
+- regenerated spec file with cabal-rpm
+* Support for concatenated gzip files (multiple back-to-back streams)
+* Fixed warnings with new GHC
+* Fixed testsuite
+* New incremental interface for compression and decompression
+* Provide access to unconsumed trailing data
+* Simplified structured error type, and instance of Exception
+* Fixed memory leak of zlib z_stream C structure
+* More derivied instances (Eq, Show, Typeable, Generic)
+
+---

Old:

  zlib-0.5.4.2.tar.gz

New:

  zlib-0.6.1.1.tar.gz



Other differences:
--
++ ghc-zlib.spec ++
--- /var/tmp/diff_new_pack.3lQLEc/_old  2016-01-07 00:25:04.0 +0100
+++ /var/tmp/diff_new_pack.3lQLEc/_new  2016-01-07 00:25:04.0 +0100
@@ -15,66 +15,95 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
 %global pkg_name zlib
 
-%global common_summary Haskell gzip and zlib formats library
-
-%global common_description This package provides a pure interface for 
compressing and decompressing streams of data represented as lazy ByteStrings. 
It uses the zlib C library so it has high performance. It supports the "zlib", 
"gzip" and "raw" compression formats.
+%bcond_with tests
 
 Name:   ghc-zlib
-Version:0.5.4.2
+Version:0.6.1.1
 Release:0
-Summary:%{common_summary}
-License:BSD-2-Clause
+Summary:Compression and decompression in the gzip and zlib formats
 Group:  System/Libraries
 
+License:BSD-2-Clause
+Url:https://hackage.haskell.org/package/%{pkg_name}
+Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-# BEGIN cabal2spec
-Url:http://hackage.haskell.org/package/%{pkg_name}
-Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
+
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-rpm-macros
+# Begin cabal-rpm deps:
+BuildRequires:  ghc-bytestring-devel
 BuildRequires:  zlib-devel
-# END cabal2spec
+%if %{with tests}
+BuildRequires:  ghc-HUnit-devel
+BuildRequires:  ghc-QuickCheck-devel
+BuildRequires:  ghc-tasty-devel
+BuildRequires:  ghc-tasty-hunit-devel
+BuildRequires:  ghc-tasty-quickcheck-devel
+%endif
+# End cabal-rpm deps
 
 %description
-%{common_description}
+This package provides a pure interface for compressing and decompressing
+streams of data represented as lazy 'ByteString's. It uses the zlib C library
+so it has high performance. It supports the "zlib", "gzip" and "raw"
+compression formats.
+
+It provides a convenient high level API suitable for most tasks and for the few
+cases where more control is needed it provides access to the full zlib feature
+set.
+
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Languages/Other
-Requires:   ghc-compiler
-Requires:   zlib-devel
-Requires(post): ghc-compiler
-Requires(postun): ghc-compiler
+Group:  Development/Libraries/Other
+Requires:   ghc-compiler = %{ghc_version}
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
 Requires:   %{name} = %{version}-%{release}
+# Begin cabal-rpm deps:
+Requires:   zlib-devel
+# End cabal-rpm deps
 
 %description devel
-%{common_description}
-This package contains the development files.
+This package provides the Haskell %{pkg_name} library development files.
+
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
+
 %build
 %ghc_lib_build
 
+
 %install
 %ghc_lib_install
 
+
+%check
+%if %{with tests}
+%cabal test
+%endif
+
+
 %post devel
 %ghc_pkg_recache
 
+
 %postun devel
 %ghc_pkg_recache
 
+
 %files -f %{name}.files
 %defattr(-,root,root,-)
 %doc LICENSE
 
+
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
+%doc examples
+
 
 %changelog

++ zlib-0.5.4.2.tar.gz -> zlib-0.6.1.1.tar.gz ++
 4977 lines of diff (skipped)




commit ghc-zlib for openSUSE:Factory

2015-05-12 Thread h_root
Hello community,

here is the log from the commit of package ghc-zlib for openSUSE:Factory 
checked in at 2015-05-13 07:12:44

Comparing /work/SRC/openSUSE:Factory/ghc-zlib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-zlib.new (New)


Package is ghc-zlib

Changes:

--- /work/SRC/openSUSE:Factory/ghc-zlib/ghc-zlib.changes2014-11-26 
20:55:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-zlib.new/ghc-zlib.changes   2015-05-13 
07:12:45.0 +0200
@@ -1,0 +2,6 @@
+Sat Apr 11 09:09:18 UTC 2015 - mimi...@gmail.com
+
+- update to 0.5.4.2
+* no upstreqm changelog
+
+---

Old:

  zlib-0.5.4.1.tar.gz

New:

  zlib-0.5.4.2.tar.gz



Other differences:
--
++ ghc-zlib.spec ++
--- /var/tmp/diff_new_pack.OmNYN5/_old  2015-05-13 07:12:46.0 +0200
+++ /var/tmp/diff_new_pack.OmNYN5/_new  2015-05-13 07:12:46.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-zlib
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -23,7 +23,7 @@
 %global common_description This package provides a pure interface for 
compressing and decompressing streams of data represented as lazy ByteStrings. 
It uses the zlib C library so it has high performance. It supports the zlib, 
gzip and raw compression formats.
 
 Name:   ghc-zlib
-Version:0.5.4.1
+Version:0.5.4.2
 Release:0
 Summary:%{common_summary}
 License:BSD-2-Clause

++ zlib-0.5.4.1.tar.gz - zlib-0.5.4.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zlib-0.5.4.1/Codec/Compression/Zlib/Stream.hsc 
new/zlib-0.5.4.2/Codec/Compression/Zlib/Stream.hsc
--- old/zlib-0.5.4.1/Codec/Compression/Zlib/Stream.hsc  2013-02-28 
21:28:29.0 +0100
+++ new/zlib-0.5.4.2/Codec/Compression/Zlib/Stream.hsc  2014-11-18 
12:13:10.0 +0100
@@ -108,7 +108,8 @@
 import qualified Data.ByteString.Unsafe as B
 import Data.ByteString (ByteString)
 import System.IO.Unsafe (unsafeInterleaveIO)
-import Control.Monad (liftM)
+import Control.Applicative (Applicative(..))
+import Control.Monad (ap,liftM)
 import Control.Exception (assert)
 #ifdef DEBUG
 import System.IO (hPutStrLn, stderr)
@@ -302,6 +303,13 @@
   ,Int, Int, a)
   }
 
+instance Functor Stream where
+  fmap   = liftM
+
+instance Applicative Stream where
+  pure   = return
+  (*)  = ap
+
 instance Monad Stream where
   (=)  = thenZ
 --  m = f = (m `thenZ` \a - consistencyCheck `thenZ_` returnZ a) `thenZ` f
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zlib-0.5.4.1/zlib.cabal new/zlib-0.5.4.2/zlib.cabal
--- old/zlib-0.5.4.1/zlib.cabal 2013-02-28 21:28:29.0 +0100
+++ new/zlib-0.5.4.2/zlib.cabal 2014-11-18 12:13:10.0 +0100
@@ -1,5 +1,5 @@
 name:zlib
-version: 0.5.4.1
+version: 0.5.4.2
 copyright:   (c) 2006-2012 Duncan Coutts
 license: BSD3
 license-file:LICENSE




commit ghc-zlib for openSUSE:Factory

2014-11-26 Thread h_root
Hello community,

here is the log from the commit of package ghc-zlib for openSUSE:Factory 
checked in at 2014-11-26 20:55:13

Comparing /work/SRC/openSUSE:Factory/ghc-zlib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-zlib.new (New)


Package is ghc-zlib

Changes:

--- /work/SRC/openSUSE:Factory/ghc-zlib/ghc-zlib.changes2014-08-25 
11:06:14.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-zlib.new/ghc-zlib.changes   2014-11-26 
20:55:23.0 +0100
@@ -1,0 +2,5 @@
+Fri Sep 12 06:54:28 UTC 2014 - peter.tromm...@ohm-hochschule.de
+
+- update copyright notice (year) in spec file 
+
+---



Other differences:
--
++ ghc-zlib.spec ++
--- /var/tmp/diff_new_pack.5Kmt7v/_old  2014-11-26 20:55:24.0 +0100
+++ /var/tmp/diff_new_pack.5Kmt7v/_new  2014-11-26 20:55:24.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-zlib
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit ghc-zlib for openSUSE:Factory

2014-08-25 Thread h_root
Hello community,

here is the log from the commit of package ghc-zlib for openSUSE:Factory 
checked in at 2014-08-25 11:04:55

Comparing /work/SRC/openSUSE:Factory/ghc-zlib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-zlib.new (New)


Package is ghc-zlib

Changes:

--- /work/SRC/openSUSE:Factory/ghc-zlib/ghc-zlib.changes2013-08-01 
15:35:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-zlib.new/ghc-zlib.changes   2014-08-25 
11:06:14.0 +0200
@@ -1,0 +2,5 @@
+Sat Aug 23 00:31:27 UTC 2014 - peter.tromm...@ohm-hochschule.de
+
+- enable PowerPC builds
+
+---



Other differences:
--
++ ghc-zlib.spec ++
--- /var/tmp/diff_new_pack.1nKwM5/_old  2014-08-25 11:06:15.0 +0200
+++ /var/tmp/diff_new_pack.1nKwM5/_new  2014-08-25 11:06:15.0 +0200
@@ -33,7 +33,6 @@
 # BEGIN cabal2spec
 Url:http://hackage.haskell.org/package/%{pkg_name}
 Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
-ExclusiveArch:  %{ix86} x86_64 %{ghc_arches}
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-rpm-macros

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit ghc-zlib for openSUSE:Factory

2013-08-01 Thread h_root
Hello community,

here is the log from the commit of package ghc-zlib for openSUSE:Factory 
checked in at 2013-08-01 15:35:10

Comparing /work/SRC/openSUSE:Factory/ghc-zlib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-zlib.new (New)


Package is ghc-zlib

Changes:

--- /work/SRC/openSUSE:Factory/ghc-zlib/ghc-zlib.changes2013-01-01 
12:00:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-zlib.new/ghc-zlib.changes   2013-08-01 
15:35:11.0 +0200
@@ -1,0 +2,8 @@
+Mon May  6 10:45:21 UTC 2013 - peter.tromm...@ohm-hochschule.de
+
+- update to 0.5.4.1
+* no changelog
+- part of Haskell Platform 2013.2 update
+- more transparent packaging (fewer macros) 
+
+---

Old:

  zlib-0.5.4.0.tar.gz

New:

  zlib-0.5.4.1.tar.gz



Other differences:
--
++ ghc-zlib.spec ++
--- /var/tmp/diff_new_pack.0hI1h1/_old  2013-08-01 15:35:11.0 +0200
+++ /var/tmp/diff_new_pack.0hI1h1/_new  2013-08-01 15:35:11.0 +0200
@@ -1,8 +1,7 @@
 #
-# spec file for ghc-zlib
+# spec file for package ghc-zlib
 #
-
-# Copyright (c) 2012 Peter Trommler peter.tromm...@ohm-hochschule.de
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %global pkg_name zlib
 
 %global common_summary Haskell gzip and zlib formats library
@@ -23,50 +23,59 @@
 %global common_description This package provides a pure interface for 
compressing and decompressing streams of data represented as lazy ByteStrings. 
It uses the zlib C library so it has high performance. It supports the zlib, 
gzip and raw compression formats.
 
 Name:   ghc-zlib
-Version:0.5.4.0
-Release:1
+Version:0.5.4.1
+Release:0
 Summary:%{common_summary}
-
-Group:  System/Libraries
 License:BSD-2-Clause
+Group:  System/Libraries
+
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # BEGIN cabal2spec
-URL:http://hackage.haskell.org/package/%{pkg_name}
+Url:http://hackage.haskell.org/package/%{pkg_name}
 Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
 ExclusiveArch:  %{ix86} x86_64 %{ghc_arches}
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
 BuildRequires:  ghc-bytestring-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  zlib-devel
 # END cabal2spec
 
 %description
 %{common_description}
 
+%package devel
+Summary:Haskell %{pkg_name} library development files
+Group:  Development/Languages/Other
+Requires:   ghc-compiler
+Requires:   zlib-devel
+Requires(post): ghc-compiler
+Requires(postun): ghc-compiler
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+%{common_description}
+This package contains the development files.
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
+%post devel
+%ghc_pkg_recache
 
-# devel subpackage
-%ghc_devel_package
-Requires:   zlib-devel
-
-%ghc_devel_description
-
-
-%ghc_devel_post_postun
-
+%postun devel
+%ghc_pkg_recache
 
-%ghc_files LICENSE
+%files -f %{name}.files
+%defattr(-,root,root,-)
+%doc LICENSE
 
+%files devel -f %{name}-devel.files
+%defattr(-,root,root,-)
 
 %changelog

++ zlib-0.5.4.0.tar.gz - zlib-0.5.4.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/zlib-0.5.4.0/Codec/Compression/Zlib/Internal.hs 
new/zlib-0.5.4.1/Codec/Compression/Zlib/Internal.hs
--- old/zlib-0.5.4.0/Codec/Compression/Zlib/Internal.hs 2012-09-13 
00:08:06.0 +0200
+++ new/zlib-0.5.4.1/Codec/Compression/Zlib/Internal.hs 2013-02-28 
21:28:29.0 +0100
@@ -420,7 +420,15 @@
   return $ StreamChunk (S.PS outFPtr offset length) outChunks
   else do fillBuffers defaultDecompressBufferSize inChunks
 
-  Stream.StreamEnd  - finish StreamEnd
+  Stream.StreamEnd  - inChunks `seq` finish StreamEnd
+-- The decompressor tells us we're done, but that doesn't mean we have
+-- consumed all the input (there could be trailing data). But more
+-- subtle than that, the decompressor will actually never demand the
+-- tail of the input (in the usual case where it's empty) because
+-- the zlib and gzip formats know their own length. So we force the
+-- tail of the input here because this can be important for closing
+ 

commit ghc-zlib for openSUSE:Factory

2013-01-01 Thread h_root
Hello community,

here is the log from the commit of package ghc-zlib for openSUSE:Factory 
checked in at 2013-01-01 12:00:30

Comparing /work/SRC/openSUSE:Factory/ghc-zlib (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-zlib.new (New)


Package is ghc-zlib, Maintainer is 

Changes:

New Changes file:

--- /dev/null   2012-12-21 01:49:00.356010756 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-zlib.new/ghc-zlib.changes   2013-01-01 
12:00:32.0 +0100
@@ -0,0 +1,43 @@
+---
+Thu Dec 27 12:28:22 UTC 2012 - peter.tromm...@ohm-hochschule.de
+
+- fix license tag (intentionally empty 3rd clause)
+- expand macro in name tag (help factory-auto)
+
+---
+Sat Nov 17 14:58:26 UTC 2012 - peter.tromm...@ohm-hochschule.de
+
+- make service localonly for Factory submission 
+
+---
+Tue Oct  2 11:21:27 UTC 2012 - peter.tromm...@ohm-hochschule.de
+
+- update to 0.5.4.0 from upstream (no changelog)
+- required by Haskell Platform 2012.4.0.0 
+
+---
+Mon Jun  4 06:51:40 UTC 2012 - peter.tromm...@ohm-hochschule.de
+
+- update to 0.5.3.3 from upstream (no changelog)
+- required by Haskell Platform 2012.2.0.0 
+
+---
+Thu Feb 23 13:42:43 UTC 2012 - peter.tromm...@ohm-hochschule.de
+
+- Added BuildRoot for sle11-sp1 
+
+---
+Thu Dec 15 09:33:05 UTC 2011 - peter.tromm...@ohm-hochschule.de
+
+- Added requires zlib-devel 
+
+---
+Thu Dec 15 09:08:25 UTC 2011 - peter.tromm...@ohm-hochschule.de
+
+- Add arches for OBS. 
+
+---
+Thu Dec 15 09:06:35 UTC 2011 - peter.tromm...@ohm-hochschule.de
+
+- Initial packaging. 
+

New:

  _service
  ghc-zlib.changes
  ghc-zlib.spec
  zlib-0.5.4.0.tar.gz



Other differences:
--
++ ghc-zlib.spec ++
#
# spec file for ghc-zlib
#

# Copyright (c) 2012 Peter Trommler peter.tromm...@ohm-hochschule.de
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

%global pkg_name zlib

%global common_summary Haskell gzip and zlib formats library

%global common_description This package provides a pure interface for 
compressing and decompressing streams of data represented as lazy ByteStrings. 
It uses the zlib C library so it has high performance. It supports the zlib, 
gzip and raw compression formats.

Name:   ghc-zlib
Version:0.5.4.0
Release:1
Summary:%{common_summary}

Group:  System/Libraries
License:BSD-2-Clause
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
# BEGIN cabal2spec
URL:http://hackage.haskell.org/package/%{pkg_name}
Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
ExclusiveArch:  %{ix86} x86_64 %{ghc_arches}
BuildRequires:  ghc-Cabal-devel
BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
BuildRequires:  ghc-bytestring-devel
BuildRequires:  zlib-devel
# END cabal2spec

%description
%{common_description}


%prep
%setup -q -n %{pkg_name}-%{version}


%build
%ghc_lib_build


%install
%ghc_lib_install


# devel subpackage
%ghc_devel_package
Requires:   zlib-devel

%ghc_devel_description


%ghc_devel_post_postun


%ghc_files LICENSE


%changelog
++ _service ++
services
  
service name=download_files mode=localonly//services
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org