diff --git a/postgresql.spec b/postgresql.spec index 3397b75..5d5f468 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -63,7 +63,7 @@ Summary: PostgreSQL client programs Name: postgresql %global majorversion 15 Version: %{majorversion}.6 -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. @@ -114,6 +114,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) @@ -489,6 +490,8 @@ export CFLAGS common_configure_options=' --disable-rpath + --with-lz4 + --with-zstd %if %beta --enable-debug --enable-cassert @@ -617,6 +620,8 @@ upgrade_configure () --host=%{_host} \ --prefix=%prev_prefix \ --disable-rpath \ + --with-lz4 \ + --with-zstd \ %if %beta --enable-debug \ --enable-cassert \ @@ -1226,6 +1231,9 @@ make -C postgresql-setup-%{setup_version} check %changelog +* Mon Jul 15 2024 Filip Janus - 15.6-2 +- Enable lz4 and zstd support + * Fri Feb 9 2024 Filip Janus 15.6-1 - Update to 15.6 and 13.14 - Fix CVE-2024-0985