summaryrefslogtreecommitdiffstats
path: root/php81.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-07-31 09:30:38 +0200
committerRemi Collet <remi@php.net>2024-07-31 09:30:38 +0200
commit0bd3018cfad4ef336c2ea3fb753f8365c4dd9c7f (patch)
tree61d0f381691b4be05c76e5abd7a559593f33b6c9 /php81.spec
parent370b949127fe447e80793740cc0caa566b0c7a09 (diff)
use oracle client library version 23.5 on x86_64
Diffstat (limited to 'php81.spec')
-rw-r--r--php81.spec22
1 files changed, 15 insertions, 7 deletions
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 <remi@remirepo.net> - 8.1.29-2
+- use oracle client library version 23.5 on x86_64
+
* Wed Jun 5 2024 Remi Collet <remi@remirepo.net> - 8.1.29-1
- Update to 8.1.29 - http://www.php.net/releases/8_1_29.php