From: Devrim Gunduz Date: Fri, 7 Nov 2025 12:51:19 +0000 (+0300) Subject: PostgreSQL 15: Build against OpenSSL 3 on SLES 15. X-Git-Url: http://git.postgresql.org/gitweb/static/%22display.php?a=commitdiff_plain;h=9166c800c8370604eaf4b8ac48c9b8f034810f2f;p=pgrpms.git PostgreSQL 15: Build against OpenSSL 3 on SLES 15. --- diff --git a/rpm/redhat/main/non-common/postgresql-15/main/postgresql-15.spec b/rpm/redhat/main/non-common/postgresql-15/main/postgresql-15.spec index 33acf2970..9df3ffa15 100644 --- a/rpm/redhat/main/non-common/postgresql-15/main/postgresql-15.spec +++ b/rpm/redhat/main/non-common/postgresql-15/main/postgresql-15.spec @@ -85,9 +85,9 @@ Version: 15.14 %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: 420002PGDG%{?dist} +Release: 420006PGDG%{?dist} %else -Release: 4PGDG%{?dist} +Release: 6PGDG%{?dist} %endif License: PostgreSQL Url: https://www.postgresql.org/ @@ -246,16 +246,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} @@ -314,7 +317,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 @@ -1427,6 +1430,9 @@ fi %endif %changelog +* Fri Nov 7 2025 Devrim Gunduz - 15.14-6PGDG +- Build against OpenSSL 3 on SLES 15. + * Tue Oct 14 2025 Devrim Gunduz - 15.14-5PGDG - Add SLES 16 support