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