diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1d3b443 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/v0.10.0.Final.tar.gz diff --git a/.postgres-decoderbufs.metadata b/.postgres-decoderbufs.metadata new file mode 100644 index 0000000..a04073f --- /dev/null +++ b/.postgres-decoderbufs.metadata @@ -0,0 +1 @@ +f971a5f690e3627845b9af27103b893a732ec9b2 SOURCES/v0.10.0.Final.tar.gz diff --git a/SPECS/postgres-decoderbufs.spec b/SPECS/postgres-decoderbufs.spec new file mode 100644 index 0000000..58b0a16 --- /dev/null +++ b/SPECS/postgres-decoderbufs.spec @@ -0,0 +1,48 @@ +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ý - 0.10.0-2 +- Release bump for rebuild against libpq-12.1-3 + +* Wed Oct 09 2019 Patrik Novotný