Enable lz4 and zstd support

Resolves: RHEL-47604
This commit is contained in:
Filip Janus 2024-07-15 11:26:15 +02:00
parent 2a5574f8d5
commit cd1e12b586

View File

@ -63,7 +63,7 @@ Summary: PostgreSQL client programs
Name: postgresql
%global majorversion 16
Version: %{majorversion}.1
Release: 1%{?dist}
Release: 2%{?dist}
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
# recognizes it as an independent license, so we do as well.
@ -111,6 +111,7 @@ Patch12: postgresql-no-libecpg.patch
BuildRequires: make
BuildRequires: gcc
BuildRequires: lz4-devel, libzstd-devel
BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk
BuildRequires: perl(ExtUtils::Embed), perl-devel
BuildRequires: perl(Opcode)
@ -482,6 +483,8 @@ export CFLAGS
common_configure_options='
--disable-rpath
--with-lz4
--with-zstd
%if %beta
--enable-debug
--enable-cassert
@ -610,6 +613,8 @@ upgrade_configure ()
--host=%{_host} \
--prefix=%prev_prefix \
--disable-rpath \
--with-lz4 \
--with-zstd \
%if %beta
--enable-debug \
--enable-cassert \
@ -1216,6 +1221,9 @@ make -C postgresql-setup-%{setup_version} check
%changelog
* Mon Jul 15 2024 Filip Janus <fjanus@redhat.com> - 16.1-2
- Enable lz4 and zstd support
* Mon Jan 08 2024 Filip Janus <fjanus@redhat.com> - 16.1-1
- Update to 16.1
- Update upgrade server to 15.5