summaryrefslogtreecommitdiffstats
path: root/php.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-07-31 09:30:49 +0200
committerRemi Collet <remi@php.net>2024-07-31 09:30:49 +0200
commit8efac1d39071e3ebaebcb0ef6bfd380aa73c6c17 (patch)
tree2100b195fda96d011a0a086ce1501b3e4c9c3626 /php.spec
parentbe1c757d196a9abfa7fbf549c4a5dac29624d356 (diff)
use oracle client library version 23.5 on x86_64
Diffstat (limited to 'php.spec')
-rw-r--r--php.spec22
1 files changed, 15 insertions, 7 deletions
diff --git a/php.spec b/php.spec
index 4f925c5..a8ef3b7 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), you can disable using --without tests
@@ -134,7 +136,7 @@
Summary: PHP scripting language for creating dynamic web sites
Name: %{?scl_prefix}php
Version: %{upver}%{?rcver:~%{rcver}}%{?gh_date:.%{gh_date}}
-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
@@ -245,6 +247,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
@@ -644,7 +649,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
@@ -1866,6 +1871,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