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 2023-04-04 21:22:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-postgresql-libpq (Old)
and /work/SRC/openSUSE:Factory/.ghc-postgresql-libpq.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-postgresql-libpq"
Tue Apr 4 21:22:24 2023 rev:10 rq:1075996 version:0.9.5.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-postgresql-libpq/ghc-postgresql-libpq.changes
2023-01-18 13:10:41.832780567 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-postgresql-libpq.new.19717/ghc-postgresql-libpq.changes
2023-04-04 21:22:35.285933501 +0200
@@ -1,0 +2,11 @@
+Thu Mar 30 17:07:54 UTC 2023 - Peter Simons <[email protected]>
+
+- Updated spec file to conform with ghc-rpm-macros-2.5.2.
+
+-------------------------------------------------------------------
+Wed Mar 29 17:22:15 UTC 2023 - Peter Simons <[email protected]>
+
+- Update postgresql-libpq to version 0.9.5.0 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.Vd64eH/_old 2023-04-04 21:22:35.785936332 +0200
+++ /var/tmp/diff_new_pack.Vd64eH/_new 2023-04-04 21:22:35.789936355 +0200
@@ -17,6 +17,7 @@
%global pkg_name postgresql-libpq
+%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.9.5.0
@@ -25,10 +26,16 @@
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-Cabal-prof
+BuildRequires: ghc-base-devel
+BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-devel
+BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-unix-devel
+BuildRequires: ghc-unix-prof
BuildRequires: postgresql-server-devel
ExcludeArch: %{ix86}
@@ -50,8 +57,25 @@
This package provides the Haskell %{pkg_name} library development
files.
+%package -n ghc-%{pkg_name}-doc
+Summary: Haskell %{pkg_name} library documentation
+Requires: ghc-filesystem
+BuildArch: noarch
+
+%description -n ghc-%{pkg_name}-doc
+This package provides the Haskell %{pkg_name} library documentation.
+
+%package -n ghc-%{pkg_name}-prof
+Summary: Haskell %{pkg_name} profiling library
+Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
+Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
+
+%description -n ghc-%{pkg_name}-prof
+This package provides the Haskell %{pkg_name} profiling library.
+
%prep
%autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
@@ -74,4 +98,9 @@
%files devel -f %{name}-devel.files
%doc CHANGELOG.md
+%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
+%license LICENSE
+
+%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
+
%changelog
++++++ postgresql-libpq.cabal ++++++
cabal-version: 2.4
name: postgresql-libpq
version: 0.9.5.0
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: BSD-3-Clause
license-file: LICENSE
author: Grant Monroe, Leon P Smith, Joey Adams
maintainer: Oleg Grenrus <[email protected]>
copyright:
(c) 2010 Grant Monroe
(c) 2011 Leon P Smith
category: Database
build-type: Custom
extra-source-files: cbits/hs-libpq.h
tested-with:
GHC ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.7 || ==9.4.4 || ==9.6.1
extra-source-files: CHANGELOG.md
custom-setup
setup-depends:
, base >=4.12.0.0 && <5
, Cabal >=2.4 && <3.11
-- 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
ghc-options: -Wall
other-extensions:
BangPatterns
CApiFFI
DerivingStrategies
EmptyDataDecls
GeneralizedNewtypeDeriving
OverloadedStrings
ScopedTypeVariables
exposed-modules:
Database.PostgreSQL.LibPQ
Database.PostgreSQL.LibPQ.Internal
other-modules:
Database.PostgreSQL.LibPQ.Compat
Database.PostgreSQL.LibPQ.Enums
Database.PostgreSQL.LibPQ.FFI
Database.PostgreSQL.LibPQ.Marshal
Database.PostgreSQL.LibPQ.Notify
Database.PostgreSQL.LibPQ.Oid
build-depends:
, base >=4.12.0.0 && <4.19
, bytestring >=0.10.8.2 && <0.12
if !os(windows)
build-depends: unix >=2.7.2.2 && <2.9
if os(windows)
build-depends: Win32 >=2.2.0.2 && <2.14
if flag(use-pkg-config)
pkgconfig-depends: libpq >=10.22
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
build-tool-depends: hsc2hs:hsc2hs >=0.68.5
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