Add macro postgresql_default to be able set up default version in distro
Add symbol postgres-decoderbufs-any
This commit is contained in:
parent
71a3a17d2e
commit
6983c837a7
@ -1,10 +1,12 @@
|
|||||||
|
%{!?postgresql_default:%global postgresql_default 1}
|
||||||
|
|
||||||
%global pre Final
|
%global pre Final
|
||||||
%global majorname postgres-decoderbufs
|
%global majorname postgres-decoderbufs
|
||||||
%global pgversion 16
|
%global pgversion 16
|
||||||
|
|
||||||
Name: postgresql%{pgversion}-decoderbufs
|
Name: postgresql%{pgversion}-decoderbufs
|
||||||
Version: 1.9.7
|
Version: 1.9.7
|
||||||
Release: 3%{?pre:.%pre}%{?dist}
|
Release: 4%{?pre:.%pre}%{?dist}
|
||||||
Summary: PostgreSQL Protocol Buffers logical decoder plugin
|
Summary: PostgreSQL Protocol Buffers logical decoder plugin
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -23,13 +25,19 @@ Requires: protobuf-c
|
|||||||
Requires(pre): postgresql-server >= 16, postgresql-server < 17
|
Requires(pre): postgresql-server >= 16, postgresql-server < 17
|
||||||
|
|
||||||
%global precise_version %{?epoch:%epoch:}%version-%release
|
%global precise_version %{?epoch:%epoch:}%version-%release
|
||||||
Provides: %{majorname} = %precise_version
|
Provides: %{pkgname} = %precise_version
|
||||||
Provides: %{majorname}%{?_isa} = %precise_version
|
%if %?postgresql_default
|
||||||
Conflicts: %{majorname}
|
Provides: postgresql-%{majorname} = %precise_version
|
||||||
|
%endif
|
||||||
|
Provides: %{pkgname}%{?_isa} = %precise_version
|
||||||
|
Provides: %{majorname}-any
|
||||||
|
Conflicts: %{pkgname}
|
||||||
|
|
||||||
%description
|
%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.
|
||||||
|
|
||||||
|
%description -n %{pkgname}
|
||||||
|
A PostgreSQL logical decoder output plugin to deliver data as Protocol Buffers messages.
|
||||||
|
|
||||||
%if 0%{?postgresql_server_llvmjit}
|
%if 0%{?postgresql_server_llvmjit}
|
||||||
%package llvmjit
|
%package llvmjit
|
||||||
@ -49,7 +57,7 @@ Just-in-time compilation support for %{majorname}.
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
%files
|
%files -n %{pkgname}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_libdir}/pgsql/decoderbufs.so
|
%{_libdir}/pgsql/decoderbufs.so
|
||||||
@ -63,6 +71,10 @@ Just-in-time compilation support for %{majorname}.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 11 2023 Filip Janus <fjanus@redhat.com> - 1.9.7-4.Final
|
||||||
|
- Add macro postgresql_default to be able set up default version in distro
|
||||||
|
- Add symbol postgres-decoderbufs-any
|
||||||
|
|
||||||
* Wed Nov 29 2023 Filip Janus <fjanus@redhat.com> - 1.9.7-3.Final
|
* Wed Nov 29 2023 Filip Janus <fjanus@redhat.com> - 1.9.7-3.Final
|
||||||
- Release bump
|
- Release bump
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user