From 1c3c7a1dad55b8e9b39500f0205e04f1435bcffc Mon Sep 17 00:00:00 2001 From: AlmaLinux RelEng Bot Date: Tue, 10 Mar 2026 04:50:35 -0400 Subject: [PATCH] import Oracle_OSS postgresql-15.17-1.module+el9.7.0+90829+0e33913e --- .gitignore | 4 +- .postgresql.metadata | 4 +- SOURCES/Makefile.regress | 0 SOURCES/postgresql-15.15.tar.bz2.sha256 | 1 - SOURCES/postgresql-15.17.tar.bz2.sha256 | 1 + SOURCES/postgresql-bashprofile | 0 SOURCES/postgresql-external-libpq.patch | 0 SOURCES/postgresql-logging.patch | 0 SOURCES/postgresql-no-libecpg.patch | 0 SOURCES/postgresql-server-pg_config.patch | 0 SOURCES/postgresql-var-run-socket.patch | 0 SOURCES/postgresql.pam | 0 SOURCES/postgresql.tmpfiles.d | 1 - SOURCES/rpm-pgsql.patch | 0 SPECS/postgresql.spec | 100 ++++++++++++++-------- 15 files changed, 68 insertions(+), 43 deletions(-) mode change 100755 => 100644 SOURCES/Makefile.regress delete mode 100644 SOURCES/postgresql-15.15.tar.bz2.sha256 create mode 100644 SOURCES/postgresql-15.17.tar.bz2.sha256 mode change 100755 => 100644 SOURCES/postgresql-bashprofile mode change 100755 => 100644 SOURCES/postgresql-external-libpq.patch mode change 100755 => 100644 SOURCES/postgresql-logging.patch mode change 100755 => 100644 SOURCES/postgresql-no-libecpg.patch mode change 100755 => 100644 SOURCES/postgresql-server-pg_config.patch mode change 100755 => 100644 SOURCES/postgresql-var-run-socket.patch mode change 100755 => 100644 SOURCES/postgresql.pam delete mode 100755 SOURCES/postgresql.tmpfiles.d mode change 100755 => 100644 SOURCES/rpm-pgsql.patch mode change 100755 => 100644 SPECS/postgresql.spec diff --git a/.gitignore b/.gitignore index 7defbd9..f8a02aa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ SOURCES/postgresql-13.22.tar.bz2 -SOURCES/postgresql-15.15-US.pdf -SOURCES/postgresql-15.15.tar.bz2 +SOURCES/postgresql-15.17-US.pdf +SOURCES/postgresql-15.17.tar.bz2 SOURCES/postgresql-setup-8.8.tar.gz diff --git a/.postgresql.metadata b/.postgresql.metadata index 7a49104..425a65a 100644 --- a/.postgresql.metadata +++ b/.postgresql.metadata @@ -1,4 +1,4 @@ 3a5f8f2a4e889c395db905147be40dc1f8192fa4 SOURCES/postgresql-13.22.tar.bz2 -ea3df5e85f4b98bae473feb920d0a90682323f1a SOURCES/postgresql-15.15-US.pdf -8833e4dd4ff75186451415bf61cd5f1d60078d50 SOURCES/postgresql-15.15.tar.bz2 +107aafb7c57a5db50d1aee92a211d648b427e4da SOURCES/postgresql-15.17-US.pdf +09a3926425707ffcf1dd7a5bae8869f921659c13 SOURCES/postgresql-15.17.tar.bz2 c5aa3e8b728c67b294815931c91c86aa61932bb5 SOURCES/postgresql-setup-8.8.tar.gz diff --git a/SOURCES/Makefile.regress b/SOURCES/Makefile.regress old mode 100755 new mode 100644 diff --git a/SOURCES/postgresql-15.15.tar.bz2.sha256 b/SOURCES/postgresql-15.15.tar.bz2.sha256 deleted file mode 100644 index 65f8e97..0000000 --- a/SOURCES/postgresql-15.15.tar.bz2.sha256 +++ /dev/null @@ -1 +0,0 @@ -5753aaeb8b09cbf61016f78aa69bf5cbdf01b43263f010cbf168c82896213aaa postgresql-15.15.tar.bz2 diff --git a/SOURCES/postgresql-15.17.tar.bz2.sha256 b/SOURCES/postgresql-15.17.tar.bz2.sha256 new file mode 100644 index 0000000..9b51ec2 --- /dev/null +++ b/SOURCES/postgresql-15.17.tar.bz2.sha256 @@ -0,0 +1 @@ +ae14f24c14727e0b2ded1c5553031666099bd1054db3ef44bfa6e2bd6d554a56 postgresql-15.17.tar.bz2 diff --git a/SOURCES/postgresql-bashprofile b/SOURCES/postgresql-bashprofile old mode 100755 new mode 100644 diff --git a/SOURCES/postgresql-external-libpq.patch b/SOURCES/postgresql-external-libpq.patch old mode 100755 new mode 100644 diff --git a/SOURCES/postgresql-logging.patch b/SOURCES/postgresql-logging.patch old mode 100755 new mode 100644 diff --git a/SOURCES/postgresql-no-libecpg.patch b/SOURCES/postgresql-no-libecpg.patch old mode 100755 new mode 100644 diff --git a/SOURCES/postgresql-server-pg_config.patch b/SOURCES/postgresql-server-pg_config.patch old mode 100755 new mode 100644 diff --git a/SOURCES/postgresql-var-run-socket.patch b/SOURCES/postgresql-var-run-socket.patch old mode 100755 new mode 100644 diff --git a/SOURCES/postgresql.pam b/SOURCES/postgresql.pam old mode 100755 new mode 100644 diff --git a/SOURCES/postgresql.tmpfiles.d b/SOURCES/postgresql.tmpfiles.d deleted file mode 100755 index 6c48e34..0000000 --- a/SOURCES/postgresql.tmpfiles.d +++ /dev/null @@ -1 +0,0 @@ -d /run/postgresql 0755 postgres postgres - diff --git a/SOURCES/rpm-pgsql.patch b/SOURCES/rpm-pgsql.patch old mode 100755 new mode 100644 diff --git a/SPECS/postgresql.spec b/SPECS/postgresql.spec old mode 100755 new mode 100644 index 084305e..aff8ac2 --- a/SPECS/postgresql.spec +++ b/SPECS/postgresql.spec @@ -62,7 +62,7 @@ Summary: PostgreSQL client programs Name: postgresql %global majorversion 15 -Version: %{majorversion}.15 +Version: %{majorversion}.17 Release: 1%{?dist} # The PostgreSQL license is very similar to other MIT licenses, but the OSI @@ -89,7 +89,6 @@ Source0: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version} Source1: postgresql-%{version}-US.pdf Source3: https://ftp.postgresql.org/pub/source/v%{prevversion}/postgresql-%{prevversion}.tar.bz2 Source4: Makefile.regress -Source9: postgresql.tmpfiles.d Source10: postgresql.pam Source11: postgresql-bashprofile @@ -113,6 +112,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) @@ -415,15 +415,15 @@ goal of accelerating analytics queries. %endif ) %setup -q -a 12 -n postgresql-%{version} -%patch1 -p1 -%patch2 -p1 -%patch5 -p1 +%patch -P 1 -p1 +%patch -P 2 -p1 +%patch -P 5 -p1 %if %external_libpq -%patch8 -p1 +%patch -P 8 -p1 %else -%patch12 -p1 +%patch -P 12 -p1 %endif -%patch9 -p1 +%patch -P 9 -p1 # We used to run autoconf here, but there's no longer any real need to, # since Postgres ships with a reasonably modern configure script. @@ -450,6 +450,15 @@ find . -type f -name Makefile -exec sed -i -e "s/SO_MAJOR_VERSION=\s\?\([0-9]\+\ # remove .gitignore files to ensure none get into the RPMs (bug #642210) find . -type f -name .gitignore | xargs rm +cat > postgresql.sysusers.conf < postgresql.tmpfiles.conf <