Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-postgresql-libpq for 
openSUSE:Factory checked in at 2021-03-10 08:55:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-postgresql-libpq (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-postgresql-libpq.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-postgresql-libpq"

Wed Mar 10 08:55:23 2021 rev:6 rq:877664 version:0.9.4.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-postgresql-libpq/ghc-postgresql-libpq.changes    
    2020-12-22 11:44:28.421766567 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-postgresql-libpq.new.2378/ghc-postgresql-libpq.changes
      2021-03-10 08:57:27.474901531 +0100
@@ -1,0 +2,6 @@
+Sun Feb 21 12:47:50 UTC 2021 - psim...@suse.com
+
+- Update postgresql-libpq to version 0.9.4.3 revision 1.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------

New:
----
  postgresql-libpq.cabal

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

Other differences:
------------------
++++++ ghc-postgresql-libpq.spec ++++++
--- /var/tmp/diff_new_pack.cAMQqA/_old  2021-03-10 08:57:28.270902353 +0100
+++ /var/tmp/diff_new_pack.cAMQqA/_new  2021-03-10 08:57:28.270902353 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-postgresql-libpq
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@
 License:        BSD-3-Clause
 URL:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-rpm-macros
@@ -52,6 +53,7 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ postgresql-libpq.cabal ++++++
name:               postgresql-libpq
version:            0.9.4.3
x-revision:         1
synopsis:           low-level binding to libpq
description:
  This is a binding to libpq: the C application
  programmer's interface to PostgreSQL. libpq is a
  set of library functions that allow client
  programs to pass queries to the PostgreSQL
  backend server and to receive the results of
  these queries.

homepage:           https://github.com/haskellari/postgresql-libpq
bug-reports:        https://github.com/haskellari/postgresql-libpq/issues
license:            BSD3
license-file:       LICENSE
author:             Grant Monroe, Leon P Smith, Joey Adams
maintainer:         Oleg Grenrus <oleg.gren...@iki.fi>
copyright:
  (c) 2010 Grant Monroe
  (c) 2011 Leon P Smith

category:           Database
build-type:         Custom
extra-source-files: cbits/noticehandlers.h
cabal-version:      >=1.10
tested-with:
  GHC ==7.0.4
   || ==7.2.2
   || ==7.4.2
   || ==7.6.3
   || ==7.8.4
   || ==7.10.3
   || ==8.0.2
   || ==8.2.2
   || ==8.4.4
   || ==8.6.5
   || ==8.8.4
   || ==8.10.4
   || ==9.0.1

extra-source-files: CHANGELOG.md

custom-setup
  setup-depends:
      base   >=4.3  && <5
    , Cabal  >=1.10 && <3.5

-- If true,  use pkg-config,  otherwise use the pg_config based build
-- configuration
flag use-pkg-config
  default: False
  manual:  True

library
  default-language: Haskell2010
  hs-source-dirs:   src
  c-sources:        cbits/noticehandlers.c
  include-dirs:     cbits
  exposed-modules:
    Database.PostgreSQL.LibPQ
    Database.PostgreSQL.LibPQ.Internal

  other-modules:    Database.PostgreSQL.LibPQ.Compat
  build-depends:
      base        >=4.3     && <4.16
    , bytestring  >=0.9.1.0 && <0.12

  if !os(windows)
    build-depends: unix >=2.4.2.0 && <2.8

  if os(windows)
    build-depends: Win32 >=2.2.0.2 && <2.11

  ghc-options:      -Wall

  if flag(use-pkg-config)
    pkgconfig-depends: libpq ==9.3 || >9.3

  else
    if os(windows)
      -- Due to https://sourceware.org/bugzilla/show_bug.cgi?id=22948,
      -- if we specify pq instead of libpq, then ld might link against
      -- libpq.dll directly, which can lead to segfaults. As a temporary hack,
      -- we force ld to link against the libpq.lib import library directly
      -- by specifying libpq here.
      extra-libraries: libpq

    else
      extra-libraries: pq

      if os(openbsd)
        extra-libraries:
          crypto
          ssl

  -- Other-modules:
  build-tools:      hsc2hs -any

test-suite smoke
  default-language: Haskell2010
  type:             exitcode-stdio-1.0
  main-is:          Smoke.hs
  hs-source-dirs:   test
  build-depends:
      base
    , bytestring
    , postgresql-libpq

source-repository head
  type:     git
  location: https://github.com/haskellari/postgresql-libpq

Reply via email to