import UBI postgresql16-16.11-1.el10_1

This commit is contained in:
eabdullin 2026-01-13 23:25:11 +00:00
parent 09c42d4aeb
commit 9aba227175
5 changed files with 26 additions and 6 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
postgresql-13.22.tar.bz2
postgresql-16.10.tar.bz2
postgresql-16.11.tar.bz2
postgresql-setup-8.9.tar.gz

View File

@ -1 +0,0 @@
de8485f4ce9c32e3ddfeef0b7c261eed1cecb54c9bcd170e437ff454cb292b42 postgresql-16.10.tar.bz2

View File

@ -0,0 +1 @@
6deb08c23d03d77d8f8bd1c14049eeef64aef8968fd8891df2dfc0b42f178eac postgresql-16.11.tar.bz2

View File

@ -47,7 +47,7 @@
Summary: PostgreSQL client programs
Name: %{majorname}%{majorversion}
Version: %{majorversion}.10
Version: %{majorversion}.11
Release: 1%{?dist}
# The PostgreSQL license is very similar to other MIT licenses, but the OSI
@ -542,6 +542,10 @@ 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 >postgresql16.sysusers.conf <<EOF
u postgres 26 'PostgreSQL Server' /var/lib/pgsql /bin/bash
EOF
cat > postgresql16.tmpfiles.conf <<EOF
d /var/lib/pgsql 0700 postgres postgres -
EOF
@ -712,6 +716,7 @@ upgrade_configure ()
--disable-rpath \
--with-lz4 \
--with-zstd \
--with-openssl \
%if %icu
--with-icu \
%endif
@ -953,10 +958,12 @@ find_lang_bins pltcl.lst pltcl
install -m0644 -D postgresql16.tmpfiles.conf %{buildroot}%{_tmpfilesdir}/postgresql16.conf
install -m0644 -D postgresql16.sysusers.conf %{buildroot}%{_sysusersdir}/postgresql16.conf
%pre -n %{pkgname}-server
/usr/sbin/groupadd -g 26 -o -r postgres >/dev/null 2>&1 || :
/usr/sbin/useradd -M -N -g postgres -o -r -d /var/lib/pgsql -s /bin/bash \
-c "PostgreSQL Server" -u 26 postgres >/dev/null 2>&1 || :
-c "PostgreSQL Server" -u 26 postgres >/dev/null 2>&1 || :
%post -n %{pkgname}-server
%systemd_post %service_name
@ -1243,6 +1250,7 @@ make -C postgresql-setup-%{setup_version} check
%config(noreplace) /etc/pam.d/postgresql
%endif
%{_tmpfilesdir}/postgresql16.conf
%{_sysusersdir}/postgresql16.conf
%files -n %{pkgname}-server-devel -f devel.lst
@ -1340,7 +1348,19 @@ make -C postgresql-setup-%{setup_version} check
%changelog
* Fri Sep 5 2025 Filip Janus <fjanus@redhat.com> - 16.10-2
* Mon Dec 01 2025 Filip Janus <fjanus@redhat.com> - 16.11-1
- Update to 16.11
* Mon Nov 10 2025 Filip Janus <fjanus@redhat.com> - 16.10-3
- Add tmpfiles.d configuration for PostgreSQL 16
- Ensures proper directory permissions for /var/lib/pgsql
* Wed Oct 1 2025 Filip Janus <fjanus@redhat.com> - 16.10-2
- Add OpenSSL support to upgrade_configure function
- This ensures upgrade server is compiled with OpenSSL support
- Required for SSL/TLS connections during database upgrades
* Fri Sep 5 2025 Filip Janus <fjanus@redhat.com> - 16.10-1
- Update to 16.10
* Tue Jul 22 2025 Filip Janus <fjanus@redhat.com> - 16.8-2

View File

@ -1,3 +1,3 @@
SHA512 (postgresql-13.22.tar.bz2) = 0f578526aad852285de001369dd1c8308f03479c8f4f6c1a1d066b6b77103e340df95b9ab41df3f959c4e17d4fb0c0441b02a04d3e6c01cfcd40a2632c3ac7eb
SHA512 (postgresql-16.10.tar.bz2) = b6de80d522f863b0d9dd8c2bf4f71bea309bd07586859e309a9821e7f6fd5839557dc396351e7b61aebf492bf8c8a053a324f059a1dee621ac1a6d5e8eccea22
SHA512 (postgresql-16.11.tar.bz2) = f11f8f3e5855cfce27108a1bd2122c5a7a1ff37c6d9366d7a96a041aab67a4e4a31e54f0757b6b97c72d841acdcaa97d3eaa765213d4899b2cf7047c549012b8
SHA512 (postgresql-setup-8.9.tar.gz) = 118e9ebf858722a38b0e90324bc1b49fc7058cda601ca0a7e78c94e7b95e89d6dbbc46f377626364b068614ced3cde3cb4733973ad2d71bf17892ad773657ef7