Hello community,

here is the log from the commit of package hpc-coveralls for openSUSE:Factory 
checked in at 2017-06-04 01:59:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hpc-coveralls (Old)
 and      /work/SRC/openSUSE:Factory/.hpc-coveralls.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hpc-coveralls"

Sun Jun  4 01:59:44 2017 rev:2 rq:499748 version:1.0.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/hpc-coveralls/hpc-coveralls.changes      
2017-05-09 18:15:13.738478156 +0200
+++ /work/SRC/openSUSE:Factory/.hpc-coveralls.new/hpc-coveralls.changes 
2017-06-04 01:59:45.344821688 +0200
@@ -1,0 +2,5 @@
+Thu May 18 09:52:17 UTC 2017 - [email protected]
+
+- Update to version 1.0.10 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  hpc-coveralls-1.0.9.tar.gz

New:
----
  hpc-coveralls-1.0.10.tar.gz

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

Other differences:
------------------
++++++ hpc-coveralls.spec ++++++
--- /var/tmp/diff_new_pack.zluZRm/_old  2017-06-04 01:59:45.828753322 +0200
+++ /var/tmp/diff_new_pack.zluZRm/_new  2017-06-04 01:59:45.832752757 +0200
@@ -19,7 +19,7 @@
 %global pkg_name hpc-coveralls
 %bcond_with tests
 Name:           %{pkg_name}
-Version:        1.0.9
+Version:        1.0.10
 Release:        0
 Summary:        Coveralls.io support for Haskell
 License:        BSD-3-Clause

++++++ hpc-coveralls-1.0.9.tar.gz -> hpc-coveralls-1.0.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpc-coveralls-1.0.9/CHANGELOG.md 
new/hpc-coveralls-1.0.10/CHANGELOG.md
--- old/hpc-coveralls-1.0.9/CHANGELOG.md        2017-04-17 14:35:13.000000000 
+0200
+++ new/hpc-coveralls-1.0.10/CHANGELOG.md       2017-05-13 15:34:27.000000000 
+0200
@@ -1,4 +1,8 @@
-[1.0.8](https://github.com/guillaume-nargeot/hpc-coveralls/issues?q=milestone:v1.0.9+is:closed)
+[1.0.10](https://github.com/guillaume-nargeot/hpc-coveralls/issues?q=milestone:v1.0.10+is:closed)
+------
+* Allow building with GHC 8.2 (issue #68)
+
+[1.0.9](https://github.com/guillaume-nargeot/hpc-coveralls/issues?q=milestone:v1.0.9+is:closed)
 -----
 * Allow aeson 1.2 (issue #67)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpc-coveralls-1.0.9/hpc-coveralls.cabal 
new/hpc-coveralls-1.0.10/hpc-coveralls.cabal
--- old/hpc-coveralls-1.0.9/hpc-coveralls.cabal 2017-04-17 14:35:13.000000000 
+0200
+++ new/hpc-coveralls-1.0.10/hpc-coveralls.cabal        2017-05-13 
15:34:27.000000000 +0200
@@ -1,5 +1,5 @@
 name:           hpc-coveralls
-version:        1.0.9
+version:        1.0.10
 synopsis:       Coveralls.io support for Haskell.
 description:
   This utility converts and sends Haskell projects hpc code coverage to
@@ -23,12 +23,12 @@
 license-file:   LICENSE
 author:         Guillaume Nargeot
 maintainer:     Guillaume Nargeot <[email protected]>
-copyright:      (c) 2014-2015 Guillaume Nargeot
+copyright:      (c) 2014-2017 Guillaume Nargeot
 category:       Control
 build-type:     Simple
 stability:      experimental
 cabal-version:  >= 1.8
-tested-with:    GHC == 7.6, GHC == 7.8, GHC == 7.10, GHC == 8.0
+tested-with:    GHC == 7.6, GHC == 7.8, GHC == 7.10, GHC == 8.0, GHC == 8.2
 homepage:       https://github.com/guillaume-nargeot/hpc-coveralls
 bug-reports:    https://github.com/guillaume-nargeot/hpc-coveralls/issues
 
@@ -66,7 +66,7 @@
     directory      >= 1.2     && <1.4,
     directory-tree >= 0.12    && <0.13,
     hpc            >= 0.6     && <0.7,
-    process        >= 1.1.0.1 && <1.5,
+    process        >= 1.1.0.1 && <1.7,
     pureMD5        >= 2.1     && <2.2,
     retry          >= 0.5     && <0.8,
     safe           >= 0.3     && <0.4,
@@ -87,7 +87,7 @@
     directory      >= 1.2     && <1.4,
     directory-tree >= 0.12    && <0.13,
     hpc            >= 0.6     && <0.7,
-    process        >= 1.1.0.1 && <1.5,
+    process        >= 1.1.0.1 && <1.7,
     pureMD5        >= 2.1     && <2.2,
     retry          >= 0.5     && <0.8,
     safe           >= 0.3     && <0.4,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpc-coveralls-1.0.9/src/Trace/Hpc/Coveralls/Cabal.hs 
new/hpc-coveralls-1.0.10/src/Trace/Hpc/Coveralls/Cabal.hs
--- old/hpc-coveralls-1.0.9/src/Trace/Hpc/Coveralls/Cabal.hs    2017-04-17 
14:35:13.000000000 +0200
+++ new/hpc-coveralls-1.0.10/src/Trace/Hpc/Coveralls/Cabal.hs   2017-05-13 
15:34:27.000000000 +0200
@@ -1,3 +1,5 @@
+{-# LANGUAGE CPP #-}
+
 -- |
 -- Module:      Trace.Hpc.Coveralls.Cabal
 -- Copyright:   (c) 2014-2015 Guillaume Nargeot
@@ -34,11 +36,21 @@
         ParseFailed _ -> return Nothing
         ParseOk _warnings gpd -> return $ Just $ name ++ "-" ++ version
             where pkg = package . packageDescription $ gpd
-                  PackageName name = pkgName pkg
+                  name = unPackageName $ pkgName pkg
                   version = showVersion (pkgVersion pkg)
-                  showVersion = intercalate "." . map show . versionBranch
+                  showVersion = intercalate "." . map show . versionNumbers
 
 currDirPkgNameVer :: IO (Maybe String)
 currDirPkgNameVer = runMaybeT $ pkgNameVersion currentDir
     where pkgNameVersion = MaybeT . getPackageNameVersion <=< MaybeT . 
getCabalFile
           currentDir = "."
+
+#if !(MIN_VERSION_Cabal(1,22,0))
+unPackageName :: PackageName -> String
+unPackageName (PackageName name) = name
+#endif
+
+#if !(MIN_VERSION_Cabal(2,0,0))
+versionNumbers :: Version -> [Int]
+versionNumbers = versionBranch
+#endif


Reply via email to