Compare commits

...

4 Commits

Author SHA1 Message Date
Filip Janus
7943dc1c59 Edit gating.yaml 2025-07-30 10:14:09 +00:00
Filip Janus
48402846e5 Enable separate results for each plan 2025-07-30 10:04:49 +00:00
Filip Janus
f3e193b9be add tmpfiles.d configuration
Resolves: RHEL-103631
2025-07-22 08:16:31 +00:00
Filip Janus
5eab4437ba Update to 16.8
Resolves: RHEL-79281
2025-02-19 17:52:34 +00:00
5 changed files with 26 additions and 18 deletions

4
.gitignore vendored
View File

@ -11,3 +11,7 @@
/postgresql-16.6.tar.bz2.sha256
/postgresql-13.18.tar.bz2
/postgresql-13.18.tar.bz2.sha256
/postgresql-16.8.tar.bz2
/postgresql-16.8.tar.bz2.sha256
/postgresql-13.20.tar.bz2
/postgresql-13.20.tar.bz2.sha256

11
ci.fmf
View File

@ -1,10 +1 @@
/test:
summary:
Basic set of quick tests for postgresql.
discover:
- name: fedora
how: fmf
url: "https://src.fedoraproject.org/tests/postgresql.git"
ref: main
execute:
how: tmt
resultsdb-testcase: separate

View File

@ -4,4 +4,4 @@ product_versions:
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}

View File

@ -47,8 +47,8 @@
Summary: PostgreSQL client programs
Name: %{majorname}%{majorversion}
Version: %{majorversion}.6
Release: 1%{?dist}
Version: %{majorversion}.8
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.
@ -60,7 +60,7 @@ Url: http://www.postgresql.org/
# that this be kept up with the latest minor release of the previous series;
# but update when bugs affecting pg_dump output are fixed.
%global prevmajorversion 13
%global prevversion %{prevmajorversion}.18
%global prevversion %{prevmajorversion}.20
%global prev_prefix %{_libdir}/pgsql/postgresql-%{prevmajorversion}
%global precise_version %{?epoch:%epoch:}%version-%release
@ -542,6 +542,9 @@ 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.tmpfiles.conf <<EOF
d /var/lib/pgsql 0700 postgres postgres -
EOF
%build
# Avoid LTO on armv7hl as it runs out of memory
@ -948,6 +951,8 @@ find_lang_bins pltcl.lst pltcl
%endif
%endif
install -m0644 -D postgresql16.tmpfiles.conf %{buildroot}%{_tmpfilesdir}/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 \
@ -1237,6 +1242,7 @@ make -C postgresql-setup-%{setup_version} check
%if %pam
%config(noreplace) /etc/pam.d/postgresql
%endif
%{_tmpfilesdir}/postgresql16.conf
%files -n %{pkgname}-server-devel -f devel.lst
@ -1334,6 +1340,13 @@ make -C postgresql-setup-%{setup_version} check
%changelog
* Tue Jul 22 2025 Filip Janus <fjanus@redhat.com> - 16.8-2
- Add tmpfiles.d configuration
* Wed Feb 19 2025 Filip Janus <fjanus@redhat.com> - 16.8-1
- Update to 16.8
- Fix CVE-2025-1094
* Fri Nov 22 2024 Filip Janus <fjanus@redhat.com> - 16.6-1
- Update to 16.6

View File

@ -1,5 +1,5 @@
SHA512 (postgresql-setup-8.9.tar.gz) = 118e9ebf858722a38b0e90324bc1b49fc7058cda601ca0a7e78c94e7b95e89d6dbbc46f377626364b068614ced3cde3cb4733973ad2d71bf17892ad773657ef7
SHA512 (postgresql-16.6.tar.bz2) = ffd6d39fb7aed87241237d68af4934fba1b4ac1be4d3c2833e308e50c21a693796fe54b73e0905365d7557009c40049a23b966aa86765b969797434a0d4bd5f8
SHA512 (postgresql-16.6.tar.bz2.sha256) = 2b43dbf07487208f113ebc56958c4e16eb596d39104dc26ffdfded84c196b9fbc12cb52b03775727777fabc297ca26a4c1048b281a3a7b5c20a7bdedc533295f
SHA512 (postgresql-13.18.tar.bz2) = 2694ff9402683c90ccfbb53a465f6b6a09702b9b5b44e2db84a3a41175427d889d1b823897fd361b04a53dd3596289822e36a77215cb45dd972d79850fbdb97b
SHA512 (postgresql-13.18.tar.bz2.sha256) = 5e2271387f115619e11f0ade65af8e0069632ddda269642285b6bfa51b7892f7cff0e69103fa18eaa9af1eaada3923977727509c1a0c8b6bf77101ac1d5fc5be
SHA512 (postgresql-16.8.tar.bz2) = f44fdfe01fbf82f3ffe4c9fc860bd27e06dddfe43b6bd6d1c6e267d64086eb5517e23cc1b2b8895cb73e63fce76779993ea9785a97e6e348ed91b4c08bb0492d
SHA512 (postgresql-16.8.tar.bz2.sha256) = 878f5b5d71a10de9416bdd74bef034efade87cc9d6fad6ce1491842ab6415f897c715a2817552f627744ab23cf2a8287010d5e2e2f1c9206e563a1d0e26d39cc
SHA512 (postgresql-13.20.tar.bz2) = 884ee8327b803c66679238525e7d51320ea537b41138d7fe8fd7e725631f734a61e53646d9cec78154f3f05a3b50e90508793a56a8f0f76699a53773930cb1d0
SHA512 (postgresql-13.20.tar.bz2.sha256) = 515b8021b0f70c95908e3b993fef71a9e6d6b27553eb69af1b707e77921d00992b5fad089d604fb565e463bd059c266ee9479082711f68cd5d570662b586cbf2