commit ghc-text for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-text for openSUSE:Factory 
checked in at 2017-09-15 22:17:42

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


Package is "ghc-text"

Fri Sep 15 22:17:42 2017 rev:14 rq:525506 version:1.2.2.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-text/ghc-text.changes2017-08-31 
21:00:24.778121789 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-text.new/ghc-text.changes   2017-09-15 
22:17:43.854250158 +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-text.spec ++
--- /var/tmp/diff_new_pack.cWWD6t/_old  2017-09-15 22:17:44.670135231 +0200
+++ /var/tmp/diff_new_pack.cWWD6t/_new  2017-09-15 22:17:44.674134667 +0200
@@ -23,8 +23,8 @@
 Release:0
 Summary:An efficient packed Unicode text type
 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-array-devel
@@ -32,7 +32,6 @@
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-deepseq-devel
 BuildRequires:  ghc-rpm-macros
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-QuickCheck-devel
@@ -72,7 +71,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(post): ghc-compiler = %{ghc_version}
@@ -100,11 +99,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc README.markdown changelog.md
 
 %changelog




commit ghc-text for openSUSE:Factory

2017-08-31 Thread root
Hello community,

here is the log from the commit of package ghc-text for openSUSE:Factory 
checked in at 2017-08-31 21:00:23

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


Package is "ghc-text"

Thu Aug 31 21:00:23 2017 rev:13 rq:513512 version:1.2.2.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-text/ghc-text.changes2016-07-21 
08:13:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-text.new/ghc-text.changes   2017-08-31 
21:00:24.778121789 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:06:08 UTC 2017 - psim...@suse.com
+
+- Update to version 1.2.2.2.
+
+---

Old:

  text-1.2.2.1.tar.gz

New:

  text-1.2.2.2.tar.gz



Other differences:
--
++ ghc-text.spec ++
--- /var/tmp/diff_new_pack.xGrXXx/_old  2017-08-31 21:00:27.177784630 +0200
+++ /var/tmp/diff_new_pack.xGrXXx/_new  2017-08-31 21:00:27.205780696 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-text
 #
-# 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
@@ -19,15 +19,14 @@
 %global pkg_name text
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.2.2.1
+Version:1.2.2.2
 Release:0
 Summary:An efficient packed Unicode text type
 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
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-array-devel
 BuildRequires:  ghc-binary-devel
 BuildRequires:  ghc-bytestring-devel
@@ -44,7 +43,6 @@
 BuildRequires:  ghc-test-framework-hunit-devel
 BuildRequires:  ghc-test-framework-quickcheck2-devel
 %endif
-# End cabal-rpm deps
 
 %description
 An efficient packed, immutable Unicode text type (both strict and lazy), with a
@@ -86,20 +84,14 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache

++ text-1.2.2.1.tar.gz -> text-1.2.2.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/text-1.2.2.1/Data/Text/Array.hs 
new/text-1.2.2.2/Data/Text/Array.hs
--- old/text-1.2.2.1/Data/Text/Array.hs 2016-03-17 18:53:39.0 +0100
+++ new/text-1.2.2.2/Data/Text/Array.hs 2017-05-21 07:16:35.0 +0200
@@ -20,7 +20,7 @@
 -- > import qualified Data.Text.Array as A
 --
 -- The names in this module resemble those in the 'Data.Array' family
--- of modules, but are shorter due to the assumption of qualifid
+-- of modules, but are shorter due to the assumption of qualified
 -- naming.
 module Data.Text.Array
 (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/text-1.2.2.1/Data/Text/Encoding.hs 
new/text-1.2.2.2/Data/Text/Encoding.hs
--- old/text-1.2.2.1/Data/Text/Encoding.hs  2016-03-17 18:53:39.0 
+0100
+++ new/text-1.2.2.2/Data/Text/Encoding.hs  2017-05-21 07:16:35.0 
+0200
@@ -55,13 +55,9 @@
 , encodeUtf32LE
 , encodeUtf32BE
 
-#if MIN_VERSION_bytestring(0,10,4)
 -- * Encoding Text using ByteString Builders
--- | /Note/ that these functions are only available if built against
--- @bytestring >= 0.10.4.0@.
 , encodeUtf8Builder
 , encodeUtf8BuilderEscaped
-#endif
 ) where
 
 #if __GLASGOW_HASKELL__ >= 702
@@ -70,24 +66,15 @@
 import Control.Monad.ST (unsafeIOToST, unsafeSTToIO)
 #endif
 
-#if MIN_VERSION_bytestring(0,10,4)
-import Data.Bits ((.&.))
-import Data.Text.Internal.Unsafe.Char (ord)
-import qualified Data.ByteString.Builder as B
-import qualified Data.ByteString.Builder.Internal as B hiding (empty, append)
-import qualified Data.ByteString.Builder.Prim as BP
-import qualified Data.ByteString.Builder.Prim.Internal as BP
-import qualified Data.Text.Internal.Encoding.Utf16 as U16
-#endif
-
 import Control.Exception (evaluate, try)
 import Control.Monad.ST (runST)
+import Data.Bits ((.&.))
 import Data.ByteString as B
 import Data.ByteString.Internal as B hiding (c2w)
 import Data.Text.Encoding.Error (OnDecodeError, UnicodeException, strictDecode)
 import Data.Text.Internal (Text(..), safe, text)
 import Data.Text.Internal.Private (runText)
-import Data.Text.Internal.Unsafe.Char (unsafeWrite)
+import 

commit ghc-text for openSUSE:Factory

2016-07-21 Thread h_root
Hello community,

here is the log from the commit of package ghc-text for openSUSE:Factory 
checked in at 2016-07-21 08:13:07

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


Package is "ghc-text"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-text/ghc-text.changes2016-03-26 
15:26:16.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-text.new/ghc-text.changes   2016-07-21 
08:13:11.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:34:21 UTC 2016 - psim...@suse.com
+
+- Update to version 1.2.2.1 revision 0 with cabal2obs.
+
+---



Other differences:
--
++ ghc-text.spec ++
--- /var/tmp/diff_new_pack.njchFK/_old  2016-07-21 08:13:14.0 +0200
+++ /var/tmp/diff_new_pack.njchFK/_new  2016-07-21 08:13:14.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-text
 #
-# 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
@@ -17,26 +17,23 @@
 
 
 %global pkg_name text
-
 %bcond_with tests
-
-Name:   ghc-text
+Name:   ghc-%{pkg_name}
 Version:1.2.2.1
 Release:0
 Summary:An efficient packed Unicode text type
 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
-
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-array-devel
+BuildRequires:  ghc-binary-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-deepseq-devel
+BuildRequires:  ghc-rpm-macros
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-QuickCheck-devel
@@ -75,33 +72,35 @@
 text breaking, and locales), see the 'text-icu' package:
 .
 
-
 %package devel
 Summary:Haskell %{pkg_name} library development files
 Group:  Development/Libraries/Other
+Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
 Requires(postun): ghc-compiler = %{ghc_version}
-Requires:   %{name} = %{version}-%{release}
 
 %description devel
 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
+%{cabal} test
 %endif
 
+
 %post devel
 %ghc_pkg_recache
 
@@ -114,6 +113,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc README.markdown
+%doc README.markdown changelog.md
 
 %changelog




commit ghc-text for openSUSE:Factory

2016-03-26 Thread h_root
Hello community,

here is the log from the commit of package ghc-text for openSUSE:Factory 
checked in at 2016-03-26 15:26:11

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


Package is "ghc-text"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-text/ghc-text.changes2015-12-29 
12:59:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-text.new/ghc-text.changes   2016-03-26 
15:26:16.0 +0100
@@ -1,0 +2,10 @@
+Sat Mar 19 12:45:47 UTC 2016 - mimi...@gmail.com
+
+- update to 1.2.2.1
+* The switch to integer-pure in 1.2.2.0 was apparently mistaken. The build 
flag has
+been renamed accordingly. Your army of diligent maintainers apologizes 
+   for the churn.
+* Spec compliance: toCaseFold now follows the Unicode 8.0 spec (updated from 
7.0)
+* An STG lint error has been fixed
+
+---

Old:

  text-1.2.2.0.tar.gz

New:

  text-1.2.2.1.tar.gz



Other differences:
--
++ ghc-text.spec ++
--- /var/tmp/diff_new_pack.ZQLrUG/_old  2016-03-26 15:26:18.0 +0100
+++ /var/tmp/diff_new_pack.ZQLrUG/_new  2016-03-26 15:26:18.0 +0100
@@ -21,7 +21,7 @@
 %bcond_with tests
 
 Name:   ghc-text
-Version:1.2.2.0
+Version:1.2.2.1
 Release:0
 Summary:An efficient packed Unicode text type
 License:BSD-2-Clause

++ text-1.2.2.0.tar.gz -> text-1.2.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/text-1.2.2.0/Data/Text/Array.hs 
new/text-1.2.2.1/Data/Text/Array.hs
--- old/text-1.2.2.0/Data/Text/Array.hs 2015-12-22 21:38:36.0 +0100
+++ new/text-1.2.2.1/Data/Text/Array.hs 2016-03-17 18:53:39.0 +0100
@@ -74,7 +74,7 @@
 #endif
 import GHC.Base (ByteArray#, MutableByteArray#, Int(..),
  indexWord16Array#, newByteArray#,
- unsafeCoerce#, writeWord16Array#)
+ unsafeFreezeByteArray#, writeWord16Array#)
 import GHC.ST (ST(..), runST)
 import GHC.Word (Word16(..))
 import Prelude hiding (length, read)
@@ -130,8 +130,9 @@
 
 -- | Freeze a mutable array. Do not mutate the 'MArray' afterwards!
 unsafeFreeze :: MArray s -> ST s Array
-unsafeFreeze MArray{..} = ST $ \s# ->
-  (# s#, Array (unsafeCoerce# maBA)
+unsafeFreeze MArray{..} = ST $ \s1# ->
+case unsafeFreezeByteArray# maBA s1# of
+(# s2#, ba# #) -> (# s2#, Array ba#
 #if defined(ASSERTS)
  maLen
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/text-1.2.2.0/Data/Text/Internal/Fusion/CaseMapping.hs 
new/text-1.2.2.1/Data/Text/Internal/Fusion/CaseMapping.hs
--- old/text-1.2.2.0/Data/Text/Internal/Fusion/CaseMapping.hs   2015-12-22 
21:38:36.0 +0100
+++ new/text-1.2.2.1/Data/Text/Internal/Fusion/CaseMapping.hs   2016-03-17 
18:53:39.0 +0100
@@ -1,10 +1,10 @@
 {-# LANGUAGE Rank2Types #-}
 -- AUTOMATICALLY GENERATED - DO NOT EDIT
 -- Generated by scripts/CaseMapping.hs
--- CaseFolding-7.0.0.txt
--- Date: 2014-04-09, 20:00:56 GMT [MD]
--- SpecialCasing-7.0.0.txt
--- Date: 2014-03-18, 07:18:02 GMT [MD]
+-- CaseFolding-8.0.0.txt
+-- Date: 2015-01-13, 18:16:36 GMT [MD]
+-- SpecialCasing-8.0.0.txt
+-- Date: 2014-12-16, 23:08:04 GMT [MD]
 
 module Data.Text.Internal.Fusion.CaseMapping where
 import Data.Char
@@ -337,8 +337,6 @@
 foldMapping '\x01f0' s = Yield '\x006a' (CC s '\x030c' '\x')
 -- COMBINING GREEK YPOGEGRAMMENI
 foldMapping '\x0345' s = Yield '\x03b9' (CC s '\x' '\x')
--- GREEK CAPITAL LETTER YOT
-foldMapping '\x037f' s = Yield '\x03f3' (CC s '\x' '\x')
 -- GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
 foldMapping '\x0390' s = Yield '\x03b9' (CC s '\x0308' '\x0301')
 -- GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
@@ -359,20 +357,20 @@
 foldMapping '\x03f1' s = Yield '\x03c1' (CC s '\x' '\x')
 -- GREEK LUNATE EPSILON SYMBOL
 foldMapping '\x03f5' s = Yield '\x03b5' (CC s '\x' '\x')
--- CYRILLIC CAPITAL LETTER EN WITH LEFT HOOK
-foldMapping '\x0528' s = Yield '\x0529' (CC s '\x' '\x')
--- CYRILLIC CAPITAL LETTER DZZHE
-foldMapping '\x052a' s = Yield '\x052b' (CC s '\x' '\x')
--- CYRILLIC CAPITAL LETTER DCHE
-foldMapping '\x052c' s = Yield '\x052d' (CC s '\x' '\x')
--- CYRILLIC CAPITAL LETTER EL WITH DESCENDER
-foldMapping '\x052e' s = Yield '\x052f' (CC s '\x' '\x')
 -- ARMENIAN SMALL LIGATURE ECH YIWN
 foldMapping '\x0587' s = Yield '\x0565' (CC s '\x0582' '\x')
--- GEORGIAN CAPITAL LETTER YN
-foldMapping '\x10c7' s = Yield '\x2d27' (CC s '\x' '\x')
--- GEORGIAN CAPITAL LETTER AEN

commit ghc-text for openSUSE:Factory

2015-12-29 Thread h_root
Hello community,

here is the log from the commit of package ghc-text for openSUSE:Factory 
checked in at 2015-12-29 12:59:53

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


Package is "ghc-text"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-text/ghc-text.changes2015-08-23 
17:39:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-text.new/ghc-text.changes   2015-12-29 
12:59:55.0 +0100
@@ -1,0 +2,13 @@
+Thu Dec 24 08:18:58 UTC 2015 - mimi...@gmail.com
+
+- update to 1.2.2.0
+* The integer-simple package, upon which this package optionally depended, has 
been 
+   replaced with integer-pure. The build flag has been renamed accordingly.
+* Bug fix: For the Binary instance, If UTF-8 decoding fails during a get, the 
error
+is propagated via fail instead of an uncatchable crash.
+* New function: takeWhileEnd
+* New instances for the Text types:
+   + if base >= 4.7: PrintfArg
+   + if base >= 4.9: Semigroup
+
+---

Old:

  text-1.2.1.3.tar.gz

New:

  text-1.2.2.0.tar.gz



Other differences:
--
++ ghc-text.spec ++
--- /var/tmp/diff_new_pack.31YVj7/_old  2015-12-29 12:59:56.0 +0100
+++ /var/tmp/diff_new_pack.31YVj7/_new  2015-12-29 12:59:56.0 +0100
@@ -17,12 +17,11 @@
 
 
 %global pkg_name text
-%global cabal_configure_options -f -integer-simple
 
 %bcond_with tests
 
 Name:   ghc-text
-Version:1.2.1.3
+Version:1.2.2.0
 Release:0
 Summary:An efficient packed Unicode text type
 License:BSD-2-Clause

++ text-1.2.1.3.tar.gz -> text-1.2.2.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/text-1.2.1.3/Data/Text/Encoding/Error.hs 
new/text-1.2.2.0/Data/Text/Encoding/Error.hs
--- old/text-1.2.1.3/Data/Text/Encoding/Error.hs2015-07-30 
13:25:03.0 +0200
+++ new/text-1.2.2.0/Data/Text/Encoding/Error.hs2015-12-22 
21:38:36.0 +0100
@@ -1,5 +1,7 @@
 {-# LANGUAGE CPP, DeriveDataTypeable #-}
-#if __GLASGOW_HASKELL__ >= 702
+#if __GLASGOW_HASKELL__ >= 704
+{-# LANGUAGE Safe #-}
+#elif __GLASGOW_HASKELL__ >= 702
 {-# LANGUAGE Trustworthy #-}
 #endif
 -- |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/text-1.2.1.3/Data/Text/Internal/Builder/Functions.hs 
new/text-1.2.2.0/Data/Text/Internal/Builder/Functions.hs
--- old/text-1.2.1.3/Data/Text/Internal/Builder/Functions.hs2015-07-30 
13:25:03.0 +0200
+++ new/text-1.2.2.0/Data/Text/Internal/Builder/Functions.hs2015-12-22 
21:38:36.0 +0100
@@ -23,7 +23,8 @@
 
 import Data.Monoid (mappend)
 import Data.Text.Lazy.Builder (Builder)
-import GHC.Base
+import GHC.Base (chr#,ord#,(+#),Int(I#),Char(C#))
+import Prelude ()
 
 -- | Unsafe conversion for decimal digits.
 {-# INLINE i2d #-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/text-1.2.1.3/Data/Text/Internal/Builder.hs 
new/text-1.2.2.0/Data/Text/Internal/Builder.hs
--- old/text-1.2.1.3/Data/Text/Internal/Builder.hs  2015-07-30 
13:25:03.0 +0200
+++ new/text-1.2.2.0/Data/Text/Internal/Builder.hs  2015-12-22 
21:38:36.0 +0100
@@ -59,6 +59,9 @@
 
 import Control.Monad.ST (ST, runST)
 import Data.Monoid (Monoid(..))
+#if MIN_VERSION_base(4,9,0)
+import Data.Semigroup (Semigroup(..))
+#endif
 import Data.Text.Internal (Text(..))
 import Data.Text.Internal.Lazy (smallChunkSize)
 import Data.Text.Unsafe (inlineInterleaveST)
@@ -89,12 +92,22 @@
 -> ST s [S.Text]
}
 
+#if MIN_VERSION_base(4,9,0)
+instance Semigroup Builder where
+   (<>) = append
+   {-# INLINE (<>) #-}
+#endif
+
 instance Monoid Builder where
mempty  = empty
{-# INLINE mempty #-}
+#if MIN_VERSION_base(4,9,0)
+   mappend = (<>) -- future-proof definition
+#else
mappend = append
+#endif
{-# INLINE mappend #-}
-   mconcat = foldr mappend mempty
+   mconcat = foldr mappend Data.Monoid.mempty
{-# INLINE mconcat #-}
 
 instance String.IsString Builder where
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/text-1.2.1.3/Data/Text/Internal/Fusion/Common.hs 
new/text-1.2.2.0/Data/Text/Internal/Fusion/Common.hs
--- old/text-1.2.1.3/Data/Text/Internal/Fusion/Common.hs2015-07-30 
13:25:03.0 +0200
+++ new/text-1.2.2.0/Data/Text/Internal/Fusion/Common.hs2015-12-22 
21:38:36.0 +0100
@@ -593,7 +593,7 @@
 {-# INLINE [0] concatMap #-}
 
 -- | /O(n)/ any @p @xs determines if any character in the stream
--- @xs@ satisifes the predicate @p@.
+-- @xs@ satisfies the 

commit ghc-text for openSUSE:Factory

2015-08-23 Thread h_root
Hello community,

here is the log from the commit of package ghc-text for openSUSE:Factory 
checked in at 2015-08-23 15:43:23

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


Package is ghc-text

Changes:

--- /work/SRC/openSUSE:Factory/ghc-text/ghc-text.changes2015-05-21 
08:34:55.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-text.new/ghc-text.changes   2015-08-23 
17:39:11.0 +0200
@@ -1,0 +2,15 @@
+Fri Aug  7 08:35:26 UTC 2015 - mimi...@gmail.com
+
+- update to 1.2.1.3
+* Bug fix: As it turns out, moving the literal rewrite rules to simplifier 
phase 2 
+  does not prevent competition with the unpack rule, which is also active in 
this phase. 
+  Unfortunately this was hidden due to a silly test environment mistake. 
Moving literal 
+  rules back to phase 1 finally fixes GHC Trac #10528 correctly.
+* Bug fix: Run literal rewrite rules in simplifier phase 2. The behavior of 
the simplifier 
+  changed in GHC 7.10.2, causing these rules to fail to fire, leading to poor 
code 
+  generation and long compilation times. See GHC Trac #10528.
+* Expose unpackCString#, which you should never use.
+* Added Binary instances for both Text types. (If you have previously been 
using 
+  the text-binary package to get a Binary instance, it is now obsolete.)
+
+---

Old:

  text-1.2.0.6.tar.gz

New:

  text-1.2.1.3.tar.gz



Other differences:
--
++ ghc-text.spec ++
--- /var/tmp/diff_new_pack.UqP5xk/_old  2015-08-23 17:39:12.0 +0200
+++ /var/tmp/diff_new_pack.UqP5xk/_new  2015-08-23 17:39:12.0 +0200
@@ -22,7 +22,7 @@
 %bcond_with tests
 
 Name:   ghc-text
-Version:1.2.0.6
+Version:1.2.1.3
 Release:0
 Summary:An efficient packed Unicode text type
 License:BSD-2-Clause

++ text-1.2.0.6.tar.gz - text-1.2.1.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/text-1.2.0.6/Data/Text/Encoding.hs 
new/text-1.2.1.3/Data/Text/Encoding.hs
--- old/text-1.2.0.6/Data/Text/Encoding.hs  2015-05-15 18:27:51.0 
+0200
+++ new/text-1.2.1.3/Data/Text/Encoding.hs  2015-07-30 13:25:03.0 
+0200
@@ -84,12 +84,12 @@
 import Control.Monad.ST (runST)
 import Data.ByteString as B
 import Data.ByteString.Internal as B hiding (c2w)
-import Data.Text ()
 import Data.Text.Encoding.Error (OnDecodeError, UnicodeException, strictDecode)
 import Data.Text.Internal (Text(..), safe, text)
 import Data.Text.Internal.Private (runText)
 import Data.Text.Internal.Unsafe.Char (unsafeWrite)
 import Data.Text.Internal.Unsafe.Shift (shiftR)
+import Data.Text.Show ()
 import Data.Text.Unsafe (unsafeDupablePerformIO)
 import Data.Word (Word8, Word32)
 import Foreign.C.Types (CSize(..))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/text-1.2.0.6/Data/Text/Lazy/Encoding.hs 
new/text-1.2.1.3/Data/Text/Lazy/Encoding.hs
--- old/text-1.2.0.6/Data/Text/Lazy/Encoding.hs 2015-05-15 18:27:51.0 
+0200
+++ new/text-1.2.1.3/Data/Text/Lazy/Encoding.hs 2015-07-30 13:25:03.0 
+0200
@@ -66,10 +66,9 @@
 import qualified Data.ByteString.Builder as B
 import qualified Data.ByteString.Builder.Extra as B (safeStrategy, 
toLazyByteStringWith)
 import qualified Data.ByteString.Builder.Prim as BP
-import qualified Data.Text as T
 #endif
+import qualified Data.Text as T
 import qualified Data.Text.Encoding as TE
-import qualified Data.Text.Lazy as L
 import qualified Data.Text.Internal.Lazy.Encoding.Fusion as E
 import qualified Data.Text.Internal.Lazy.Fusion as F
 import Data.Text.Unsafe (unsafeDupablePerformIO)
@@ -110,7 +109,7 @@
   | S.null l  = empty
   | otherwise = case onErr desc (Just (B.unsafeHead l)) of
   Nothing - empty
-  Just c  - L.singleton c
+  Just c  - Chunk (T.singleton c) Empty
 desc = Data.Text.Lazy.Encoding.decodeUtf8With: Invalid UTF-8 stream
 decodeUtf8With _ _ = empty
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/text-1.2.0.6/Data/Text/Lazy.hs 
new/text-1.2.1.3/Data/Text/Lazy.hs
--- old/text-1.2.0.6/Data/Text/Lazy.hs  2015-05-15 18:27:51.0 +0200
+++ new/text-1.2.1.3/Data/Text/Lazy.hs  2015-07-30 13:25:03.0 +0200
@@ -212,6 +212,7 @@
 import Data.Char (isSpace)
 import Data.Data (Data(gfoldl, toConstr, gunfold, dataTypeOf), constrIndex,
   Constr, mkConstr, DataType, mkDataType, Fixity(Prefix))
+import Data.Binary (Binary(get, put))
 import Data.Monoid (Monoid(..))
 import Data.String (IsString(..))
 import 

commit ghc-text for openSUSE:Factory

2015-05-21 Thread h_root
Hello community,

here is the log from the commit of package ghc-text for openSUSE:Factory 
checked in at 2015-05-21 08:34:54

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


Package is ghc-text

Changes:

--- /work/SRC/openSUSE:Factory/ghc-text/ghc-text.changes2014-11-26 
20:55:16.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-text.new/ghc-text.changes   2015-05-21 
08:34:55.0 +0200
@@ -1,0 +2,40 @@
+Sun May 17 15:55:33 UTC 2015 - mimi...@gmail.com
+
+- update to 1.2.0.6
+* Feature parity: repeat, cycle, iterate are now implemented for lazy
+   Text, and the Data instance is more complete
+* Build speed: an inliner space explosion has been fixed with toCaseFold
+* Bug fix: encoding Int to a Builder would infinite-loop if the
+   integer-simple package was used
+* Deprecation: OnEncodeError and EncodeError are deprecated, as they
+   are never used
+* Internals: some types that are used internally in fusion-related
+   functions have moved around, been renamed, or been deleted (we don't
+   bump the major version if .Internal modules change)
+* Spec compliance: toCaseFold now follows the Unicode 7.0 spec
+   (updated from 6.3)
+
+---
+Fri Apr 10 17:46:01 UTC 2015 - mimi...@gmail.com
+
+- update to 1.2.04
+- all credits to yac jmate...@suse.com
+* Update formatRealFloat to correspond to the definition in versions
+  of base newer than 4.5 (https://github.com/bos/text/issues/105)
+* Bumped lower bound on deepseq to 1.4 for compatibility with the
+  upcoming GHC 7.10
+* Fixed a buffer overflow in rendering of large Integers
+* Fixed an integer overflow in the replace function
+* Fixed a hang in lazy decodeUtf8With
+* Reduced codegen bloat caused by use of empty and single-character
+  literals
+* Added an instance of IsList for GHC 7.8 and above
+* The Data.Data instance now allows gunfold to work, via a virtual
+  pack constructor
+* dropEnd, takeEnd: new functions
+* Comparing the length of a Text against a number can now
+  short-circuit in more cases
+* streamDecodeUtf8: fixed gh-70, did not return all unconsumed bytes
+  in single-byte chunks 
+
+---

Old:

  _service
  text-1.1.0.0.tar.gz

New:

  text-1.2.0.6.tar.gz



Other differences:
--
++ ghc-text.spec ++
--- /var/tmp/diff_new_pack.neHBfj/_old  2015-05-21 08:34:55.0 +0200
+++ /var/tmp/diff_new_pack.neHBfj/_new  2015-05-21 08:34:55.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-text
 #
-# 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
@@ -17,16 +17,19 @@
 
 
 %global pkg_name text
+%global cabal_configure_options -f -integer-simple
+
+%bcond_with tests
 
 Name:   ghc-text
-Version:1.1.0.0
+Version:1.2.0.6
 Release:0
 Summary:An efficient packed Unicode text type
 License:BSD-2-Clause
 Group:  System/Libraries
 
-Url:http://hackage.haskell.org/package/%{pkg_name}
-Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
+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
 
 BuildRequires:  ghc-Cabal-devel
@@ -35,6 +38,16 @@
 BuildRequires:  ghc-array-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-deepseq-devel
+%if %{with tests}
+BuildRequires:  ghc-HUnit-devel
+BuildRequires:  ghc-QuickCheck-devel
+BuildRequires:  ghc-directory-devel
+BuildRequires:  ghc-quickcheck-unicode-devel
+BuildRequires:  ghc-random-devel
+BuildRequires:  ghc-test-framework-devel
+BuildRequires:  ghc-test-framework-hunit-devel
+BuildRequires:  ghc-test-framework-quickcheck2-devel
+%endif
 # End cabal-rpm deps
 
 %description
@@ -53,11 +66,20 @@
 
 Efficient locale-sensitive support for text IO is also supported.
 
+These modules are intended to be imported qualified, to avoid name clashes with
+Prelude functions, e.g.
+
+ import qualified Data.Text as T
+
+To use an extended and very rich family of functions for working with Unicode
+text (including normalization, regular expressions, non-standard encodings,
+text breaking, and locales), see the 'text-icu' package:
+http://hackage.haskell.org/package/text-icu.
+
 
 %package devel
 Summary:Haskell 

commit ghc-text for openSUSE:Factory

2014-11-26 Thread h_root
Hello community,

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

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


Package is ghc-text

Changes:

--- /work/SRC/openSUSE:Factory/ghc-text/ghc-text.changes2014-08-25 
11:06:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-text.new/ghc-text.changes   2014-11-26 
20:55:16.0 +0100
@@ -1,0 +2,12 @@
+Fri Sep 12 06:46:01 UTC 2014 - peter.tromm...@ohm-hochschule.de
+
+- update to 1.1.0.0
+* no changelog
+* Haskell Platform 2014.2.0.0 
+
+---
+Tue Sep  2 10:18:37 UTC 2014 - peter.tromm...@ohm-hochschule.de
+
+- regenerate spec file 
+
+---

Old:

  text-0.11.3.1.tar.gz

New:

  text-1.1.0.0.tar.gz



Other differences:
--
++ ghc-text.spec ++
--- /var/tmp/diff_new_pack.jCO8zy/_old  2014-11-26 20:55:19.0 +0100
+++ /var/tmp/diff_new_pack.jCO8zy/_new  2014-11-26 20:55:19.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-text
 #
-# 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
@@ -18,41 +18,54 @@
 
 %global pkg_name text
 
-%global common_summary Haskell efficient packed Unicode text library
-
-%global common_description An efficient packed, immutable Unicode text type 
(both strict and lazy), with a powerful loop fusion optimization framework.
-
 Name:   ghc-text
-Version:0.11.3.1
+Version:1.1.0.0
 Release:0
-Summary:%{common_summary}
+Summary:An efficient packed Unicode text type
 License:BSD-2-Clause
 Group:  System/Libraries
 
-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
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+
 BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-rpm-macros
+# Begin cabal-rpm deps:
+BuildRequires:  ghc-array-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-deepseq-devel
-BuildRequires:  ghc-rpm-macros
-# END cabal2spec
+# End cabal-rpm deps
 
 %description
-%{common_description}
+An efficient packed, immutable Unicode text type (both strict and lazy), with a
+powerful loop fusion optimization framework.
+
+The 'Text' type represents Unicode character strings, in a time and
+space-efficient manner. This package provides text processing capabilities that
+are optimized for performance critical use, both in terms of large data
+quantities and high speed.
+
+The 'Text' type provides character-encoding, type-safe case conversion via
+whole-string case conversion functions. It also provides a range of functions
+for converting 'Text' values to and from 'ByteStrings', using several standard
+encodings.
+
+Efficient locale-sensitive support for text IO is also supported.
+
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Languages/Other
-Requires:   ghc-compiler
-Requires(post): ghc-compiler
-Requires(postun): ghc-compiler
+Group:  Development/Libraries/Other
+Provides:   %{name}-static = %{version}-%{release}
+Requires:   ghc-compiler = %{ghc_version}
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
 Requires:   %{name} = %{version}-%{release}
 
 %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}
@@ -71,9 +84,10 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,-)
-%doc LICENSE README.markdown
+%doc LICENSE
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
+%doc README.markdown
 
 %changelog

++ text-0.11.3.1.tar.gz - text-1.1.0.0.tar.gz ++
 11393 lines of diff (skipped)

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



commit ghc-text for openSUSE:Factory

2014-08-25 Thread h_root
Hello community,

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

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


Package is ghc-text

Changes:

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



Other differences:
--
++ ghc-text.spec ++
--- /var/tmp/diff_new_pack.hNpLTu/_old  2014-08-25 11:06:09.0 +0200
+++ /var/tmp/diff_new_pack.hNpLTu/_new  2014-08-25 11:06:09.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-deepseq-devel

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



commit ghc-text for openSUSE:Factory

2013-08-01 Thread h_root
Hello community,

here is the log from the commit of package ghc-text for openSUSE:Factory 
checked in at 2013-08-01 15:33:59

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


Package is ghc-text

Changes:

--- /work/SRC/openSUSE:Factory/ghc-text/ghc-text.changes2013-01-01 
12:00:20.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-text.new/ghc-text.changes   2013-08-01 
15:34:01.0 +0200
@@ -1,0 +2,10 @@
+Mon May  6 14:04:37 UTC 2013 - peter.tromm...@ohm-hochschule.de
+
+- update to 0.11.3.1 from upstream
+* no changelog provided
+* improved perfomance and API extensions
+- drop BR ghc-extensible-extensions: no longer required and it is
+  no longer part of ghc and Haskell Platform
+- more transparent packaging (fewer macros)  
+
+---

Old:

  text-0.11.2.3.tar.gz

New:

  text-0.11.3.1.tar.gz



Other differences:
--
++ ghc-text.spec ++
--- /var/tmp/diff_new_pack.G2n28T/_old  2013-08-01 15:34:02.0 +0200
+++ /var/tmp/diff_new_pack.G2n28T/_new  2013-08-01 15:34:02.0 +0200
@@ -1,8 +1,7 @@
 #
-# spec file for ghc-text
+# spec file for package ghc-text
 #
-
-# 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 text
 
 %global common_summary Haskell efficient packed Unicode text library
@@ -23,50 +23,58 @@
 %global common_description An efficient packed, immutable Unicode text type 
(both strict and lazy), with a powerful loop fusion optimization framework.
 
 Name:   ghc-text
-Version:0.11.2.3
-Release:1
+Version:0.11.3.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-extensible-exceptions-devel
 BuildRequires:  ghc-deepseq-devel
+BuildRequires:  ghc-rpm-macros
 # END cabal2spec
 
 %description
 %{common_description}
 
+%package devel
+Summary:Haskell %{pkg_name} library development files
+Group:  Development/Languages/Other
+Requires:   ghc-compiler
+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
-
-%ghc_devel_description
-
-
-%ghc_devel_post_postun
-
+%postun devel
+%ghc_pkg_recache
 
-%ghc_files LICENSE
+%files -f %{name}.files
+%defattr(-,root,root,-)
+%doc LICENSE README.markdown
 
+%files devel -f %{name}-devel.files
+%defattr(-,root,root,-)
 
 %changelog

++ text-0.11.2.3.tar.gz - text-0.11.3.1.tar.gz ++
 2034 lines of diff (skipped)

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