From 0bd3018cfad4ef336c2ea3fb753f8365c4dd9c7f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 31 Jul 2024 09:30:38 +0200 Subject: use oracle client library version 23.5 on x86_64 --- php81.spec | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'php81.spec') diff --git a/php81.spec b/php81.spec index 59c1850..486c3c2 100644 --- a/php81.spec +++ b/php81.spec @@ -25,13 +25,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), you can disable using --without tests @@ -125,7 +127,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: php Version: %{upver}%{?rcver:~%{rcver}} -Release: 1%{?dist} +Release: 2%{?dist} # All files licensed under PHP version 3.01, except # Zend is licensed under Zend # TSRM is licensed under BSD @@ -237,6 +239,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 #BuildRequires: bison #BuildRequires: re2c @@ -761,7 +766,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: php-pdo%{?_isa} = %{version}-%{release} Provides: php_database @@ -2203,6 +2208,9 @@ fi %changelog +* Wed Jul 31 2024 Remi Collet - 8.1.29-2 +- use oracle client library version 23.5 on x86_64 + * Wed Jun 5 2024 Remi Collet - 8.1.29-1 - Update to 8.1.29 - http://www.php.net/releases/8_1_29.php -- cgit