Hello community,

here is the log from the commit of package ghc-Glob for openSUSE:Factory 
checked in at 2017-08-31 20:49:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-Glob (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-Glob.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-Glob"

Thu Aug 31 20:49:54 2017 rev:9 rq:513186 version:0.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-Glob/ghc-Glob.changes        2017-02-03 
17:37:43.580486957 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-Glob.new/ghc-Glob.changes   2017-08-31 
20:49:55.622499508 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:08:13 UTC 2017 - psim...@suse.com
+
+- Update to version 0.8.0.
+
+-------------------------------------------------------------------

Old:
----
  Glob-0.7.14.tar.gz

New:
----
  Glob-0.8.0.tar.gz

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

Other differences:
------------------
++++++ ghc-Glob.spec ++++++
--- /var/tmp/diff_new_pack.vWB9Et/_old  2017-08-31 20:49:56.750341194 +0200
+++ /var/tmp/diff_new_pack.vWB9Et/_new  2017-08-31 20:49:56.770338386 +0200
@@ -19,7 +19,7 @@
 %global pkg_name Glob
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.7.14
+Version:        0.8.0
 Release:        0
 Summary:        Globbing library
 License:        BSD-3-Clause

++++++ Glob-0.7.14.tar.gz -> Glob-0.8.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Glob-0.7.14/CHANGELOG.txt 
new/Glob-0.8.0/CHANGELOG.txt
--- old/Glob-0.7.14/CHANGELOG.txt       2016-12-29 18:14:26.000000000 +0100
+++ new/Glob-0.8.0/CHANGELOG.txt        2017-05-27 11:33:57.000000000 +0200
@@ -1,3 +1,6 @@
+0.8.0, 2017-05-27:
+        Added instance IsString Pattern, thanks to Mitsutoshi Aoe.
+
 0.7.14, 2016-12-29:
        Update dependencies to allow directory-1.3.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Glob-0.7.14/Glob.cabal new/Glob-0.8.0/Glob.cabal
--- old/Glob-0.7.14/Glob.cabal  2016-12-29 18:14:26.000000000 +0100
+++ new/Glob-0.8.0/Glob.cabal   2017-05-27 11:33:57.000000000 +0200
@@ -1,7 +1,7 @@
 Cabal-Version: >= 1.9.2
 
 Name:        Glob
-Version:     0.7.14
+Version:     0.8.0
 Homepage:    http://iki.fi/matti.niemenmaa/glob/
 Synopsis:    Globbing library
 Category:    System
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Glob-0.7.14/System/FilePath/Glob/Base.hs 
new/Glob-0.8.0/System/FilePath/Glob/Base.hs
--- old/Glob-0.7.14/System/FilePath/Glob/Base.hs        2016-12-29 
18:14:26.000000000 +0100
+++ new/Glob-0.8.0/System/FilePath/Glob/Base.hs 2017-05-27 11:33:57.000000000 
+0200
@@ -30,6 +30,7 @@
 import Data.Maybe                        (fromMaybe)
 import Data.Monoid                       (Monoid, mappend, mempty, mconcat)
 import Data.Semigroup                    (Semigroup, (<>), sconcat, stimes)
+import Data.String                       (IsString(fromString))
 import System.FilePath                   ( pathSeparator, extSeparator
                                          , isExtSeparator, isPathSeparator
                                          )
@@ -163,6 +164,9 @@
    mappend = (<>)
    mconcat = optimize . Pattern . concatMap unPattern
 
+instance IsString Pattern where
+    fromString = compile
+
 -- |Options which can be passed to the 'tryCompileWith' or 'compileWith'
 -- functions: with these you can selectively toggle certain features at compile
 -- time.


Reply via email to