From b1822683caf750428fdf914cdbafd009ba94aaa7 Mon Sep 17 00:00:00 2001 From: AlmaLinux RelEng Bot Date: Thu, 16 Apr 2026 06:55:12 -0400 Subject: [PATCH] import CS postgres-decoderbufs-3.3.1-1.Final.module_el9+1300+1c4aa8df --- .gitignore | 2 +- .postgres-decoderbufs.metadata | 2 +- SPECS/postgres-decoderbufs.spec | 43 ++++++++++++++++++++++++--------- 3 files changed, 34 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 1d3b443..eac149f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/v0.10.0.Final.tar.gz +SOURCES/v3.3.1.Final.tar.gz diff --git a/.postgres-decoderbufs.metadata b/.postgres-decoderbufs.metadata index a04073f..f5f2a30 100644 --- a/.postgres-decoderbufs.metadata +++ b/.postgres-decoderbufs.metadata @@ -1 +1 @@ -f971a5f690e3627845b9af27103b893a732ec9b2 SOURCES/v0.10.0.Final.tar.gz +a71c11e473f9f6000e00da9f12c4fd301789f178 SOURCES/v3.3.1.Final.tar.gz diff --git a/SPECS/postgres-decoderbufs.spec b/SPECS/postgres-decoderbufs.spec index 58b0a16..282c816 100644 --- a/SPECS/postgres-decoderbufs.spec +++ b/SPECS/postgres-decoderbufs.spec @@ -1,32 +1,45 @@ +%global pre Final + Name: postgres-decoderbufs -Version: 0.10.0 -Release: 2%{?dist} +Version: 3.3.1 +Release: 1%{?pre:.%pre}%{?dist} Summary: PostgreSQL Protocol Buffers logical decoder plugin License: MIT URL: https://github.com/debezium/postgres-decoderbufs -%global full_version %{version}.Final +%global full_version %{version}.%{?pre:%pre}%{?!pre:Final} Source0: https://github.com/debezium/%{name}/archive/v%{full_version}.tar.gz +BuildRequires: make BuildRequires: gcc -BuildRequires: postgresql-devel >= 9.6, postgresql-server-devel >= 9.6 +BuildRequires: postgresql-server-devel >= 18 BuildRequires: protobuf-c-devel Requires: protobuf-c %{?postgresql_module_requires} %description -A PostgreSQL logical decoder output plugin to deliver data -as Protocol Buffers messages. +A PostgreSQL logical decoder output plugin to deliver data as Protocol Buffers messages. + + +%if 0%{?postgresql_server_llvmjit} +%package llvmjit +Summary: Just-in-time compilation support for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description llvmjit +Just-in-time compilation support for %{name}. +%endif + %prep %setup -qn postgres-decoderbufs-%{full_version} %build -%make_build USE_POSTGIS=false +%make_build %install @@ -39,10 +52,18 @@ as Protocol Buffers messages. %{_libdir}/pgsql/decoderbufs.so %{_datadir}/pgsql/extension/decoderbufs.control +%if 0%{?postgresql_server_llvmjit} +%files llvmjit +%{_libdir}/pgsql/bitcode/decoderbufs.index.bc +%{_libdir}/pgsql/bitcode/decoderbufs/ +%endif + %changelog -* Wed Nov 20 2019 Patrik Novotný - 0.10.0-2 -- Release bump for rebuild against libpq-12.1-3 +* Tue Nov 18 2025 Filip Janus - 3.3.1-1.Final +- Update to 3.3.1.Final +- Initial import for postgresql18 -* Wed Oct 09 2019 Patrik Novotný - 2.4.0-1.Final +- Initial import for postgresql 16 stream +- Related: RHEL-3635