Hello community,

here is the log from the commit of package ghc-postgresql-libpq for 
openSUSE:Factory checked in at 2017-06-04 01:58:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-postgresql-libpq (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-postgresql-libpq.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-postgresql-libpq"

Sun Jun  4 01:58:29 2017 rev:4 rq:499721 version:0.9.3.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-postgresql-libpq/ghc-postgresql-libpq.changes    
    2017-02-03 17:39:41.899740080 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-postgresql-libpq.new/ghc-postgresql-libpq.changes
   2017-06-04 01:58:29.895480651 +0200
@@ -1,0 +2,5 @@
+Thu May 18 09:52:18 UTC 2017 - [email protected]
+
+- Update to version 0.9.3.1 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  postgresql-libpq-0.9.3.0.tar.gz

New:
----
  postgresql-libpq-0.9.3.1.tar.gz

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

Other differences:
------------------
++++++ ghc-postgresql-libpq.spec ++++++
--- /var/tmp/diff_new_pack.AfnqMy/_old  2017-06-04 01:58:30.551387988 +0200
+++ /var/tmp/diff_new_pack.AfnqMy/_new  2017-06-04 01:58:30.555387423 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name postgresql-libpq
 Name:           ghc-%{pkg_name}
-Version:        0.9.3.0
+Version:        0.9.3.1
 Release:        0
 Summary:        Low-level binding to libpq
 License:        BSD-3-Clause

++++++ postgresql-libpq-0.9.3.0.tar.gz -> postgresql-libpq-0.9.3.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/postgresql-libpq-0.9.3.0/Setup.hs 
new/postgresql-libpq-0.9.3.1/Setup.hs
--- old/postgresql-libpq-0.9.3.0/Setup.hs       2017-01-09 19:16:45.000000000 
+0100
+++ new/postgresql-libpq-0.9.3.1/Setup.hs       2017-05-15 07:45:38.000000000 
+0200
@@ -1,4 +1,8 @@
-#!/usr/bin/env runhaskell
+{-# LANGUAGE CPP #-}
+
+#ifndef MIN_VERSION_Cabal
+#define MIN_VERSION_Cabal(x,y,z) 0
+#endif
 
 import Distribution.Simple
 import Distribution.Simple.Setup
@@ -12,9 +16,28 @@
 import Data.Char (isSpace)
 import Data.List (dropWhile,reverse)
 
+#if MIN_VERSION_Cabal(2,0,0)
+import Distribution.Types.UnqualComponentName
+#endif
+
+flag :: String -> FlagName
+#if MIN_VERSION_Cabal(2,0,0)
+flag = mkFlagName
+#else
+flag = FlagName
+#endif
+
+#if MIN_VERSION_Cabal(2,0,0)
+unqualComponentName :: String -> UnqualComponentName
+unqualComponentName = mkUnqualComponentName
+#else
+unqualComponentName :: String -> String
+unqualComponentName = id
+#endif
+
 main = defaultMainWithHooks simpleUserHooks {
   confHook = \pkg flags -> do
-    if lookup (FlagName "use-pkg-config") 
+    if lookup (flag "use-pkg-config")
               (configConfigurationsFlags flags) == Just True
     then do
       confHook simpleUserHooks pkg flags
@@ -24,7 +47,7 @@
 
       return lbi {
         localPkgDescr = updatePackageDescription
-                          (Just bi, [("runtests", bi)]) (localPkgDescr lbi)
+                          (Just bi, [(unqualComponentName "runtests", bi)]) 
(localPkgDescr lbi)
       }
 }
 
@@ -32,7 +55,7 @@
 psqlBuildInfo lbi = do
   (pgconfigProg, _) <- requireProgram verbosity
                          (simpleProgram "pg_config") (withPrograms lbi)
-  let pgconfig = rawSystemProgramStdout verbosity pgconfigProg
+  let pgconfig = getProgramOutput verbosity pgconfigProg
 
   incDir <- pgconfig ["--includedir"]
   libDir <- pgconfig ["--libdir"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/postgresql-libpq-0.9.3.0/postgresql-libpq.cabal 
new/postgresql-libpq-0.9.3.1/postgresql-libpq.cabal
--- old/postgresql-libpq-0.9.3.0/postgresql-libpq.cabal 2017-01-09 
19:16:45.000000000 +0100
+++ new/postgresql-libpq-0.9.3.1/postgresql-libpq.cabal 2017-05-15 
07:45:38.000000000 +0200
@@ -1,5 +1,5 @@
 Name:                postgresql-libpq
-Version:             0.9.3.0
+Version:             0.9.3.1
 Synopsis:            low-level binding to libpq
 
 Description:         This is a binding to libpq: the C application
@@ -54,4 +54,4 @@
 source-repository this
   type:     git
   location: http://github.com/lpsmith/postgresql-libpq
-  tag:      v0.9.3.0
+  tag:      v0.9.3.1


Reply via email to