Hello community, here is the log from the commit of package ghc-Glob for openSUSE:Factory checked in at 2016-08-25 09:58:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-Glob (Old) and /work/SRC/openSUSE:Factory/.ghc-Glob.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-Glob" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-Glob/ghc-Glob.changes 2016-08-24 10:07:39.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-Glob.new/ghc-Glob.changes 2016-08-25 09:58:09.000000000 +0200 @@ -1,0 +2,5 @@ +Wed Aug 17 18:28:52 UTC 2016 - [email protected] + +- Update to version 0.7.11 revision 0 with cabal2obs. + +------------------------------------------------------------------- Old: ---- Glob-0.7.10.tar.gz New: ---- Glob-0.7.11.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-Glob.spec ++++++ --- /var/tmp/diff_new_pack.WsCg1z/_old 2016-08-25 09:58:10.000000000 +0200 +++ /var/tmp/diff_new_pack.WsCg1z/_new 2016-08-25 09:58:10.000000000 +0200 @@ -19,11 +19,11 @@ %global pkg_name Glob %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.7.10 +Version: 0.7.11 Release: 0 Summary: Globbing library License: BSD-3-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 @@ -61,19 +61,15 @@ %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install - %check %cabal_test - %post devel %ghc_pkg_recache ++++++ Glob-0.7.10.tar.gz -> Glob-0.7.11.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glob-0.7.10/CHANGELOG.txt new/Glob-0.7.11/CHANGELOG.txt --- old/Glob-0.7.10/CHANGELOG.txt 2016-07-18 18:58:59.000000000 +0200 +++ new/Glob-0.7.11/CHANGELOG.txt 2016-08-08 18:58:03.000000000 +0200 @@ -1,3 +1,7 @@ +0.7.11, 2016-08-08: + Got rid of tests/Utils.hs to fix test compilation on case-insensitive + filesystems (tests/Utils.hs vs tests/Tests/Utils.hs). + 0.7.10, 2016-07-18: Update dependencies to allow dlist-0.8. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glob-0.7.10/Glob.cabal new/Glob-0.7.11/Glob.cabal --- old/Glob-0.7.10/Glob.cabal 2016-07-18 18:58:59.000000000 +0200 +++ new/Glob-0.7.11/Glob.cabal 2016-08-08 18:58:03.000000000 +0200 @@ -1,7 +1,7 @@ Cabal-Version: >= 1.9.2 Name: Glob -Version: 0.7.10 +Version: 0.7.11 Homepage: http://iki.fi/matti.niemenmaa/glob/ Synopsis: Globbing library Category: System @@ -85,4 +85,3 @@ Tests.Regression Tests.Simplifier Tests.Utils - Utils diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glob-0.7.10/tests/Tests/Base.hs new/Glob-0.7.11/tests/Tests/Base.hs --- old/Glob-0.7.10/tests/Tests/Base.hs 2016-07-18 18:58:59.000000000 +0200 +++ new/Glob-0.7.11/tests/Tests/Base.hs 2016-08-08 18:58:03.000000000 +0200 @@ -1,7 +1,7 @@ -- File created: 2008-10-10 22:03:00 module Tests.Base ( PString(unPS), Path(unP), COpts(unCOpts) - , fromRight, isRight + , (-->), fromRight, isRight ) where import System.FilePath (extSeparator, pathSeparators) @@ -9,8 +9,6 @@ import System.FilePath.Glob.Base (CompOptions(..)) -import Utils (fromRight, isRight) - newtype PString = PatString { unPS :: String } deriving Show newtype Path = Path { unP :: String } deriving Show newtype COpts = COpts { unCOpts :: CompOptions } deriving Show @@ -72,3 +70,11 @@ , maybe "" show (b :: Maybe Int) , ">" ] + +fromRight (Right x) = x +fromRight _ = error "fromRight :: Left" + +isRight (Right _) = True +isRight _ = False + +a --> b = not a || b diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glob-0.7.10/tests/Tests/Utils.hs new/Glob-0.7.11/tests/Tests/Utils.hs --- old/Glob-0.7.10/tests/Tests/Utils.hs 2016-07-18 18:58:59.000000000 +0200 +++ new/Glob-0.7.11/tests/Tests/Utils.hs 2016-08-08 18:58:03.000000000 +0200 @@ -9,7 +9,7 @@ import System.FilePath.Glob.Utils -import Utils +import Tests.Base ((-->)) tests = testGroup "Utils" [ testProperty "overlapperLosesNoInfo" prop_overlapperLosesNoInfo diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Glob-0.7.10/tests/Utils.hs new/Glob-0.7.11/tests/Utils.hs --- old/Glob-0.7.10/tests/Utils.hs 2016-07-18 18:58:59.000000000 +0200 +++ new/Glob-0.7.11/tests/Utils.hs 1970-01-01 01:00:00.000000000 +0100 @@ -1,11 +0,0 @@ --- File created: 2008-10-15 20:50:31 - -module Utils where - -fromRight (Right x) = x -fromRight _ = error "fromRight :: Left" - -isRight (Right _) = True -isRight _ = False - -a --> b = not a || b
