From b55480f9278a733ecf6ca40e4c36871687d04740 Mon Sep 17 00:00:00 2001
From: Christoph Berg <myon@debian.org>
Date: Mon, 18 Sep 2023 22:01:11 +0200
Subject: [PATCH] Upload for PostgreSQL 16.

Use ${postgresql:Depends}.
---
 debian/changelog  | 7 +++++++
 debian/control    | 8 ++++----
 debian/control.in | 4 ++--
 3 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 74f3db6..ec7855e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+postgresql-q3c (2.0.0-8) unstable; urgency=medium
+
+  * Upload for PostgreSQL 16.
+  * Use ${postgresql:Depends}.
+
+ -- Christoph Berg <myon@debian.org>  Mon, 18 Sep 2023 22:00:14 +0200
+
 postgresql-q3c (2.0.0-7) unstable; urgency=medium
 
   * Upload for PostgreSQL 15.
diff --git a/debian/control b/debian/control
index 7f0f780..741f7b2 100644
--- a/debian/control
+++ b/debian/control
@@ -7,19 +7,19 @@ Uploaders: Ole Streicher <olebole@debian.org>,
            Christoph Berg <myon@debian.org>,
 Build-Depends: debhelper-compat (= 13),
                postgresql-all (>= 219~)
-Standards-Version: 4.6.1
+Standards-Version: 4.6.2
 Rules-Requires-Root: no
 Homepage: http://www.sai.msu.su/~megera/wiki/SkyPixelization
 Vcs-Browser: https://salsa.debian.org/postgresql/postgresql-q3c
 Vcs-Git: https://salsa.debian.org/postgresql/postgresql-q3c.git
 
-Package: postgresql-15-q3c
+Package: postgresql-16-q3c
 Architecture: any
-Depends: postgresql-15,
+Depends: ${postgresql:Depends},
          ${misc:Depends},
          ${shlibs:Depends}
 Provides: postgresql-q3c
-Description: PostgreSQL 15 extension used for indexing the sky
+Description: PostgreSQL 16 extension used for indexing the sky
  Q3C, an extension for PostgreSQL, is designed for the work with large
  astronomical catalogues or any catalogs of objects on the sphere.
  .
diff --git a/debian/control.in b/debian/control.in
index 5f0f9b1..ca49aab 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -7,7 +7,7 @@ Uploaders: Ole Streicher <olebole@debian.org>,
            Christoph Berg <myon@debian.org>,
 Build-Depends: debhelper-compat (= 13),
                postgresql-all (>= 219~)
-Standards-Version: 4.6.1
+Standards-Version: 4.6.2
 Rules-Requires-Root: no
 Homepage: http://www.sai.msu.su/~megera/wiki/SkyPixelization
 Vcs-Browser: https://salsa.debian.org/postgresql/postgresql-q3c
@@ -15,7 +15,7 @@ Vcs-Git: https://salsa.debian.org/postgresql/postgresql-q3c.git
 
 Package: postgresql-PGVERSION-q3c
 Architecture: any
-Depends: postgresql-PGVERSION,
+Depends: ${postgresql:Depends},
          ${misc:Depends},
          ${shlibs:Depends}
 Provides: postgresql-q3c
-- 
GitLab