Compare commits

...

No commits in common. "c8-stream-12" and "stream-postgres-decoderbufs-15-rhel-9.4.0" have entirely different histories.

5 changed files with 69 additions and 50 deletions

2
.gitignore vendored Normal file → Executable file
View File

@ -1 +1 @@
SOURCES/v0.10.0.Final.tar.gz
/v1.9.7.Final.tar.gz

View File

@ -1 +1 @@
f971a5f690e3627845b9af27103b893a732ec9b2 SOURCES/v0.10.0.Final.tar.gz
d1e1512c327da40afc3c21eb516294d1ef0f8743 v1.9.7.Final.tar.gz

View File

@ -1,48 +0,0 @@
Name: postgres-decoderbufs
Version: 0.10.0
Release: 2%{?dist}
Summary: PostgreSQL Protocol Buffers logical decoder plugin
License: MIT
URL: https://github.com/debezium/postgres-decoderbufs
%global full_version %{version}.Final
Source0: https://github.com/debezium/%{name}/archive/v%{full_version}.tar.gz
BuildRequires: gcc
BuildRequires: postgresql-devel >= 9.6, postgresql-server-devel >= 9.6
BuildRequires: protobuf-c-devel
Requires: protobuf-c
%{?postgresql_module_requires}
%description
A PostgreSQL logical decoder output plugin to deliver data
as Protocol Buffers messages.
%prep
%setup -qn postgres-decoderbufs-%{full_version}
%build
%make_build USE_POSTGIS=false
%install
%make_install
%files
%doc README.md
%license LICENSE
%{_libdir}/pgsql/decoderbufs.so
%{_datadir}/pgsql/extension/decoderbufs.control
%changelog
* Wed Nov 20 2019 Patrik Novotný <panovotn@redhat.com> - 0.10.0-2
- Release bump for rebuild against libpq-12.1-3
* Wed Oct 09 2019 Patrik Novotný <panovotn@redhat.com - 0-10-0-1
- Initial release for upstream version 0.10.0

66
postgres-decoderbufs.spec Normal file
View File

@ -0,0 +1,66 @@
%global pre Final
Name: postgres-decoderbufs
Version: 1.9.7
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}.%{?pre:%pre}%{?!pre:Final}
Source0: https://github.com/debezium/%{name}/archive/v%{full_version}.tar.gz
BuildRequires: make
BuildRequires: gcc
BuildRequires: postgresql-server-devel >= 15
BuildRequires: protobuf-c-devel
Requires: protobuf-c
%{?postgresql_module_requires}
%description
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
%install
%make_install
%files
%doc README.md
%license LICENSE
%{_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 Oct 26 2022 Filip Janus <fjanus@redhat.com> - 1.9.7-1.Final
- Iitial import for postgresql 15 stream
- Related: #2128410

1
sources Executable file
View File

@ -0,0 +1 @@
SHA512 (v1.9.7.Final.tar.gz) = 458613f0fd6a2f279c0c4d9d67e23262165dec32dc14f71040a3ebee22ac4d19b9f288dfa6e27abd41eca74ead97c66e1901de946b9fdadb262708db3cb1899f