From: Devrim Gunduz Date: Fri, 7 Nov 2025 12:16:46 +0000 (+0300) Subject: PostgrSQL 14: Build against OpenSSL 3 on SLES 15. X-Git-Url: http://git.postgresql.org/gitweb/static/%22display.php?a=commitdiff_plain;h=36bd16340c0fea6aef8a308220c4046313c7faba;p=pgrpms.git PostgrSQL 14: Build against OpenSSL 3 on SLES 15. --- diff --git a/rpm/redhat/main/non-common/postgresql-14/main/postgresql-14.spec b/rpm/redhat/main/non-common/postgresql-14/main/postgresql-14.spec index ea2d09b61..c9abc2e80 100644 --- a/rpm/redhat/main/non-common/postgresql-14/main/postgresql-14.spec +++ b/rpm/redhat/main/non-common/postgresql-14/main/postgresql-14.spec @@ -85,9 +85,9 @@ Version: 14.19 %if 0%{?suse_version} >= 1315 # SuSE upstream packages have release numbers like 150200.5.19.1 # which overrides our packages. Increase our release number on SuSE. -Release: 420003PGDG%{?dist} +Release: 420006PGDG%{?dist} %else -Release: 5PGDG%{?dist} +Release: 6PGDG%{?dist} %endif License: PostgreSQL Url: https://www.postgresql.org/ @@ -235,16 +235,19 @@ BuildRequires: selinux-policy >= 3.9.13 %endif %if %ssl -%if 0%{?suse_version} >= 1315 +%if 0%{?suse_version} >= 1315 && 0%{?suse_version} <= 1499 BuildRequires: libopenssl-devel -%else -BuildRequires: openssl-devel %endif +%if 0%{?suse_version} >= 1500 +BuildRequires: libopenssl-3-devel +%endif +%if 0%{?fedora} >= 41 || 0%{?rhel} >= 8 +BuildRequires: openssl-devel %endif - %if 0%{?fedora} >= 41 BuildRequires: openssl-devel-engine %endif +%endif %if %uuid %if 0%{?suse_version} @@ -303,7 +306,7 @@ Provides: postgresql-libs = %{pgmajorversion} libpq5 >= 10.0 Requires: libopenssl1_0_0 %endif %if 0%{?suse_version} == 1500 -Requires: libopenssl1_1 +Requires: libopenssl3 %endif %if 0%{?suse_version} == 1600 Requires: libopenssl3 @@ -1417,6 +1420,9 @@ fi %endif %changelog +* Fri Nov 7 2025 Devrim Gunduz - 14.19-6PGDG +- Build against OpenSSL 3 on SLES 15. + * Tue Oct 14 2025 Devrim Gunduz - 14.19-5PGDG - Add SLES 16 support