From 99e70902f9f3df07b7201852c3781fc664f7ce44 Mon Sep 17 00:00:00 2001 From: Filip Janus Date: Mon, 11 Dec 2023 13:07:47 +0100 Subject: [PATCH] Add forgotten part of code in previous commit --- postgresql16-decoderbufs.spec | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/postgresql16-decoderbufs.spec b/postgresql16-decoderbufs.spec index 0ae5285..b4a3a47 100644 --- a/postgresql16-decoderbufs.spec +++ b/postgresql16-decoderbufs.spec @@ -16,6 +16,14 @@ URL: https://github.com/debezium/postgres-decoderbufs Source0: https://github.com/debezium/%{majorname}/archive/v%{full_version}.tar.gz +%if %?postgresql_default +%global pkgname %{majorname} +%package -n %{pkgname} +Summary: PostgreSQL Audit Extension +%else +%global pkgname %name +%endif + BuildRequires: make BuildRequires: gcc BuildRequires: postgresql-server-devel >= 16, postgresql-server-devel < 17