Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-postgresql-simple for openSUSE:Factory checked in at 2023-04-14 13:12:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-postgresql-simple (Old) and /work/SRC/openSUSE:Factory/.ghc-postgresql-simple.new.19717 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-postgresql-simple" Fri Apr 14 13:12:51 2023 rev:15 rq:1079159 version:0.6.5 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-postgresql-simple/ghc-postgresql-simple.changes 2023-04-04 21:25:44.987008249 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-postgresql-simple.new.19717/ghc-postgresql-simple.changes 2023-04-14 13:12:58.847530459 +0200 @@ -1,0 +2,6 @@ +Tue Apr 11 17:18:12 UTC 2023 - Peter Simons <psim...@suse.com> + +- Update postgresql-simple to version 0.6.5 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- New: ---- postgresql-simple.cabal ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-postgresql-simple.spec ++++++ --- /var/tmp/diff_new_pack.gQPnGm/_old 2023-04-14 13:12:59.339533273 +0200 +++ /var/tmp/diff_new_pack.gQPnGm/_new 2023-04-14 13:12:59.343533296 +0200 @@ -26,6 +26,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 Patch0: https://github.com/haskellari/postgresql-simple/pull/110.patch#/dont-depend-on-obsolete-bytestring-builder.patch BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Only-devel @@ -112,7 +113,9 @@ This package provides the Haskell %{pkg_name} profiling library. %prep -%autosetup -p1 -n %{pkg_name}-%{version} +%setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal +%patch0 -p1 %build %ghc_lib_build ++++++ dont-depend-on-obsolete-bytestring-builder.patch ++++++ --- /var/tmp/diff_new_pack.gQPnGm/_old 2023-04-14 13:12:59.379533502 +0200 +++ /var/tmp/diff_new_pack.gQPnGm/_new 2023-04-14 13:12:59.383533524 +0200 @@ -1,6 +1,6 @@ -From 9361ef190b3a18f26760a8d228f5fc7c0094ba1c Mon Sep 17 00:00:00 2001 +From 3af9e50bfbd4ab69b1b99ad7128cc063a508db10 Mon Sep 17 00:00:00 2001 From: Peter Simons <sim...@cryp.to> -Date: Fri, 24 Mar 2023 10:22:47 +0100 +Date: Wed, 12 Apr 2023 22:31:08 +0200 Subject: [PATCH] postgresql-simple.cabal: add conditional logic for obsolete bytestring-builder @@ -12,12 +12,12 @@ 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/postgresql-simple.cabal b/postgresql-simple.cabal -index 584b379..3d399fb 100644 +index 203b9c4..c66fcb8 100644 --- a/postgresql-simple.cabal +++ b/postgresql-simple.cabal -@@ -36,6 +36,9 @@ tested-with: - || ==9.2.4 - || ==9.4.2 +@@ -38,6 +38,9 @@ tested-with: + || ==9.4.4 + || ==9.6.1 +Flag bytestring_has_builder + default: True @@ -25,15 +25,15 @@ library default-language: Haskell2010 hs-source-dirs: src -@@ -81,7 +84,6 @@ library +@@ -83,7 +86,6 @@ library -- GHC bundled libs build-depends: - base >=4.6.0.0 && <4.18 + base >=4.6.0.0 && <4.19 - , bytestring >=0.10.0.0 && <0.12 , containers >=0.5.0.0 && <0.7 - , template-haskell >=2.8.0.0 && <2.20 + , template-haskell >=2.8.0.0 && <2.21 , text >=1.2.3.0 && <1.3 || >=2.0 && <2.1 -@@ -92,7 +94,6 @@ library +@@ -94,7 +96,6 @@ library build-depends: aeson >=1.4.1.0 && <1.6 || >=2.0.0.0 && <2.2 , attoparsec >=0.13.2.2 && <0.15 @@ -41,14 +41,14 @@ , case-insensitive >=1.2.0.11 && <1.3 , hashable >=1.2.7.0 && <1.5 , Only >=0.1 && <0.1.1 -@@ -109,6 +110,12 @@ library +@@ -111,6 +112,12 @@ library if !impl(ghc >=7.6) build-depends: ghc-prim + if flag(bytestring_has_builder) -+ build-depends: bytestring >=0.10.4 && <0.12 ++ build-depends: bytestring >=0.10.4 && <0.12 + else -+ build-depends: bytestring <0.10.4 ++ build-depends: bytestring >=0.10 && <0.10.4 + , bytestring-builder >=0.10.8.1.0 && <0.11 + default-extensions: ++++++ postgresql-simple.cabal ++++++ cabal-version: 1.12 name: postgresql-simple version: 0.6.5 x-revision: 1 synopsis: Mid-Level PostgreSQL client library description: Mid-Level PostgreSQL client library, forked from mysql-simple. license: BSD3 license-file: LICENSE author: Bryan O'Sullivan, Leon P Smith maintainer: Oleg Grenrus <oleg.gren...@iki.fi> copyright: (c) 2011 MailRank, Inc. (c) 2011-2018 Leon P Smith (c) 2018-2020 Oleg Grenrus category: Database build-type: Simple extra-source-files: CHANGES.md CONTRIBUTORS test/results/malformed-input.expected test/results/unique-constraint-violation.expected tested-with: GHC ==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.7 || ==9.0.2 || ==9.2.7 || ==9.4.4 || ==9.6.1 library default-language: Haskell2010 hs-source-dirs: src exposed-modules: Database.PostgreSQL.Simple Database.PostgreSQL.Simple.Arrays Database.PostgreSQL.Simple.Copy Database.PostgreSQL.Simple.Cursor Database.PostgreSQL.Simple.Errors Database.PostgreSQL.Simple.FromField Database.PostgreSQL.Simple.FromRow Database.PostgreSQL.Simple.HStore Database.PostgreSQL.Simple.HStore.Internal Database.PostgreSQL.Simple.Internal Database.PostgreSQL.Simple.LargeObjects Database.PostgreSQL.Simple.Newtypes Database.PostgreSQL.Simple.Notification Database.PostgreSQL.Simple.Ok Database.PostgreSQL.Simple.Range Database.PostgreSQL.Simple.SqlQQ Database.PostgreSQL.Simple.Time Database.PostgreSQL.Simple.Time.Internal Database.PostgreSQL.Simple.ToField Database.PostgreSQL.Simple.ToRow Database.PostgreSQL.Simple.Transaction Database.PostgreSQL.Simple.TypeInfo Database.PostgreSQL.Simple.TypeInfo.Macro Database.PostgreSQL.Simple.TypeInfo.Static Database.PostgreSQL.Simple.Types Database.PostgreSQL.Simple.Vector Database.PostgreSQL.Simple.Vector.Unboxed -- Other-modules: other-modules: Database.PostgreSQL.Simple.Compat Database.PostgreSQL.Simple.HStore.Implementation Database.PostgreSQL.Simple.Internal.PQResultUtils Database.PostgreSQL.Simple.Time.Implementation Database.PostgreSQL.Simple.Time.Internal.Parser Database.PostgreSQL.Simple.Time.Internal.Printer Database.PostgreSQL.Simple.TypeInfo.Types -- GHC bundled libs build-depends: base >=4.6.0.0 && <4.19 , bytestring >=0.10.0.0 && <0.12 , containers >=0.5.0.0 && <0.7 , template-haskell >=2.8.0.0 && <2.21 , text >=1.2.3.0 && <1.3 || >=2.0 && <2.1 , time-compat >=1.9.5 && <1.12 , transformers >=0.3.0.0 && <0.7 -- Other dependencies build-depends: aeson >=1.4.1.0 && <1.6 || >=2.0.0.0 && <2.2 , attoparsec >=0.13.2.2 && <0.15 , bytestring-builder >=0.10.8.1.0 && <0.11 , case-insensitive >=1.2.0.11 && <1.3 , hashable >=1.2.7.0 && <1.5 , Only >=0.1 && <0.1.1 , postgresql-libpq >=0.9.4.3 && <0.10 , scientific >=0.3.6.2 && <0.4 , uuid-types >=1.0.3 && <1.1 , vector >=0.12.0.1 && <0.14 if !impl(ghc >=8.0) build-depends: fail >=4.9.0.0 && <4.10 , semigroups >=0.18.5 && <0.21 if !impl(ghc >=7.6) build-depends: ghc-prim default-extensions: BangPatterns DoAndIfThenElse OverloadedStrings TypeOperators ViewPatterns ghc-options: -Wall -fno-warn-name-shadowing source-repository head type: git location: http://github.com/haskellari/postgresql-simple source-repository this type: git location: http://github.com/haskellari/postgresql-simple tag: v0.6.3 test-suite inspection if !impl(ghc >=8.0) buildable: False default-language: Haskell2010 type: exitcode-stdio-1.0 hs-source-dirs: test main-is: Inspection.hs build-depends: base , inspection-testing >=0.4.1.1 && <0.6 , postgresql-libpq , postgresql-simple , tasty , tasty-hunit test-suite test default-language: Haskell2010 type: exitcode-stdio-1.0 hs-source-dirs: test main-is: Main.hs other-modules: Common Notify Serializable Time Interval ghc-options: -threaded ghc-options: -Wall -fno-warn-name-shadowing -fno-warn-unused-do-bind default-extensions: NamedFieldPuns OverloadedStrings PatternGuards Rank2Types RecordWildCards ScopedTypeVariables build-depends: aeson , base , base16-bytestring , bytestring , case-insensitive , containers , cryptohash-md5 >=0.11.100.1 && <0.12 , filepath , HUnit , postgresql-simple , tasty , tasty-golden , tasty-hunit , text , time-compat , vector if !impl(ghc >=7.6) build-depends: ghc-prim benchmark select default-language: Haskell2010 type: exitcode-stdio-1.0 hs-source-dirs: bench main-is: Select.hs build-depends: base , postgresql-simple , vector