From 67b70950b734db9603280d90bf3b066354ab1fbc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 31 Jul 2024 10:37:56 +0200 Subject: use oracle client library version 23.5 on x86_64 --- php.spec | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'php.spec') diff --git a/php.spec b/php.spec index 0ee4e0e..2f0e746 100644 --- a/php.spec +++ b/php.spec @@ -50,13 +50,15 @@ %global mysql_sock %(mysql_config --socket 2>/dev/null || echo /var/lib/mysql/mysql.sock) %ifarch aarch64 -%global oraclever 19.22 +%global oraclever 19.23 +%global oraclemax 20 %global oraclelib 19.1 -%global oracledir 19.22 +%global oracledir 19.23 %else -%global oraclever 21.13 -%global oraclelib 21.1 -%global oracledir 21 +%global oraclever 23.5 +%global oraclemax 24 +%global oraclelib 23.1 +%global oracledir 23 %endif # Build for LiteSpeed Web Server (LSAPI) @@ -117,7 +119,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: %{?scl_prefix}php Version: %{upver}%{?rcver:~%{rcver}}%{?gh_date:.%{gh_date}} -Release: 15%{?dist} +Release: 16%{?dist} # All files licensed under PHP version 3.01, except # Zend is licensed under Zend # TSRM is licensed under BSD @@ -239,6 +241,9 @@ BuildRequires: libtool BuildRequires: libtool-ltdl-devel %if %{with_dtrace} BuildRequires: %{?dtsprefix}systemtap-sdt-devel +%if 0%{?fedora} >= 41 +BuildRequires: %{?dtsprefix}systemtap-sdt-dtrace +%endif %endif %if 0%{?gh_date} BuildRequires: bison @@ -650,7 +655,7 @@ BuildRequires: oracle-instantclient%{oraclever}-devel Requires: libclntsh.so.%{oraclelib} AutoReq: 0 %else -BuildRequires: oracle-instantclient-devel >= %{oraclever} +BuildRequires: (oracle-instantclient-devel >= %{oraclever} with oracle-instantclient-devel < %{oraclemax}) %endif Requires: %{?scl_prefix}php-pdo%{?_isa} = %{version}-%{release} Provides: %{?scl_prefix}php_database @@ -1884,6 +1889,9 @@ EOF %changelog +* Wed Jul 31 2024 Remi Collet - 7.4.33-15 +- use oracle client library version 23.5 on x86_64 + * Tue Jun 4 2024 Remi Collet - 7.4.33-15 - Fix filter bypass in filter_var FILTER_VALIDATE_URL CVE-2024-5458 -- cgit