From 2888bf7a85e3f440a6ae5dc8e80f547a029bc4b0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 29 Dec 2025 08:21:29 +0100 Subject: update to 3.4.1 add pie virtual provides F43: re-enable dtrace --- PHPINFO | 6 +-- REFLECTION | 148 ++++++++++++++++++++++++++--------------------------- php-pecl-oci8.spec | 28 +++++++--- 3 files changed, 99 insertions(+), 83 deletions(-) diff --git a/PHPINFO b/PHPINFO index 334cefc..31cadb7 100644 --- a/PHPINFO +++ b/PHPINFO @@ -3,9 +3,9 @@ oci8 OCI8 Support => enabled OCI8 DTrace Support => enabled -OCI8 Version => 3.4.0 -Oracle Run-time Client Library Version => 23.4.0.24.5 -Oracle Compile-time Instant Client Version => 23.4 +OCI8 Version => 3.4.1 +Oracle Run-time Client Library Version => 23.9.0.25.7 +Oracle Compile-time Instant Client Version => 23.9 Directive => Local Value => Master Value oci8.max_persistent => -1 => -1 diff --git a/REFLECTION b/REFLECTION index 8a7ab44..ec8db53 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #84 oci8 version 3.4.0 ] { +Extension [ extension #103 oci8 version 3.4.1 ] { - INI { Entry [ oci8.max_persistent ] @@ -34,79 +34,79 @@ Extension [ extension #84 oci8 version 3.4.0 ] { } - Constants [73] { - Constant [ int OCI_DEFAULT ] { 0 } - Constant [ int OCI_SYSOPER ] { 4 } - Constant [ int OCI_SYSDBA ] { 2 } - Constant [ int OCI_CRED_EXT ] { 2147483648 } - Constant [ int OCI_DESCRIBE_ONLY ] { 16 } - Constant [ int OCI_COMMIT_ON_SUCCESS ] { 32 } - Constant [ int OCI_NO_AUTO_COMMIT ] { 0 } - Constant [ int OCI_EXACT_FETCH ] { 2 } - Constant [ int OCI_SEEK_SET ] { 0 } - Constant [ int OCI_SEEK_CUR ] { 1 } - Constant [ int OCI_SEEK_END ] { 2 } - Constant [ int OCI_LOB_BUFFER_FREE ] { 1 } - Constant [ int SQLT_BFILEE ] { 114 } - Constant [ int SQLT_CFILEE ] { 115 } - Constant [ int SQLT_CLOB ] { 112 } - Constant [ int SQLT_BLOB ] { 113 } - Constant [ int SQLT_RDD ] { 104 } - Constant [ int SQLT_INT ] { 3 } - Constant [ int SQLT_NUM ] { 2 } - Constant [ int SQLT_RSET ] { 116 } - Constant [ int SQLT_AFC ] { 96 } - Constant [ int SQLT_CHR ] { 1 } - Constant [ int SQLT_VCS ] { 9 } - Constant [ int SQLT_AVC ] { 97 } - Constant [ int SQLT_STR ] { 5 } - Constant [ int SQLT_LVC ] { 94 } - Constant [ int SQLT_FLT ] { 4 } - Constant [ int SQLT_UIN ] { 68 } - Constant [ int SQLT_LNG ] { 8 } - Constant [ int SQLT_LBI ] { 24 } - Constant [ int SQLT_BIN ] { 23 } - Constant [ int SQLT_ODT ] { 156 } - Constant [ int SQLT_BDOUBLE ] { 22 } - Constant [ int SQLT_BFLOAT ] { 21 } - Constant [ int SQLT_BOL ] { 252 } - Constant [ int OCI_B_NTY ] { 108 } - Constant [ int SQLT_NTY ] { 108 } - Constant [ string OCI_SYSDATE ] { SYSDATE } - Constant [ int OCI_B_BFILE ] { 114 } - Constant [ int OCI_B_CFILEE ] { 115 } - Constant [ int OCI_B_CLOB ] { 112 } - Constant [ int OCI_B_BLOB ] { 113 } - Constant [ int OCI_B_ROWID ] { 104 } - Constant [ int OCI_B_CURSOR ] { 116 } - Constant [ int OCI_B_BIN ] { 23 } - Constant [ int OCI_B_INT ] { 3 } - Constant [ int OCI_B_NUM ] { 2 } - Constant [ int OCI_B_BOL ] { 252 } - Constant [ int OCI_FETCHSTATEMENT_BY_COLUMN ] { 16 } - Constant [ int OCI_FETCHSTATEMENT_BY_ROW ] { 32 } - Constant [ int OCI_ASSOC ] { 1 } - Constant [ int OCI_NUM ] { 2 } - Constant [ int OCI_BOTH ] { 3 } - Constant [ int OCI_RETURN_NULLS ] { 4 } - Constant [ int OCI_RETURN_LOBS ] { 8 } - Constant [ int OCI_DTYPE_FILE ] { 56 } - Constant [ int OCI_DTYPE_LOB ] { 50 } - Constant [ int OCI_DTYPE_ROWID ] { 54 } - Constant [ int OCI_D_FILE ] { 56 } - Constant [ int OCI_D_LOB ] { 50 } - Constant [ int OCI_D_ROWID ] { 54 } - Constant [ int OCI_TEMP_CLOB ] { 2 } - Constant [ int OCI_TEMP_BLOB ] { 1 } - Constant [ int OCI_FO_END ] { 1 } - Constant [ int OCI_FO_ABORT ] { 2 } - Constant [ int OCI_FO_REAUTH ] { 4 } - Constant [ int OCI_FO_BEGIN ] { 8 } - Constant [ int OCI_FO_ERROR ] { 16 } - Constant [ int OCI_FO_NONE ] { 1 } - Constant [ int OCI_FO_SESSION ] { 2 } - Constant [ int OCI_FO_SELECT ] { 4 } - Constant [ int OCI_FO_TXNAL ] { 8 } - Constant [ int OCI_FO_RETRY ] { 25410 } + Constant [ int OCI_DEFAULT ] { 0 } + Constant [ int OCI_SYSOPER ] { 4 } + Constant [ int OCI_SYSDBA ] { 2 } + Constant [ int OCI_CRED_EXT ] { 2147483648 } + Constant [ int OCI_DESCRIBE_ONLY ] { 16 } + Constant [ int OCI_COMMIT_ON_SUCCESS ] { 32 } + Constant [ int OCI_NO_AUTO_COMMIT ] { 0 } + Constant [ int OCI_EXACT_FETCH ] { 2 } + Constant [ int OCI_SEEK_SET ] { 0 } + Constant [ int OCI_SEEK_CUR ] { 1 } + Constant [ int OCI_SEEK_END ] { 2 } + Constant [ int OCI_LOB_BUFFER_FREE ] { 1 } + Constant [ int SQLT_BFILEE ] { 114 } + Constant [ int SQLT_CFILEE ] { 115 } + Constant [ int SQLT_CLOB ] { 112 } + Constant [ int SQLT_BLOB ] { 113 } + Constant [ int SQLT_RDD ] { 104 } + Constant [ int SQLT_INT ] { 3 } + Constant [ int SQLT_NUM ] { 2 } + Constant [ int SQLT_RSET ] { 116 } + Constant [ int SQLT_AFC ] { 96 } + Constant [ int SQLT_CHR ] { 1 } + Constant [ int SQLT_VCS ] { 9 } + Constant [ int SQLT_AVC ] { 97 } + Constant [ int SQLT_STR ] { 5 } + Constant [ int SQLT_LVC ] { 94 } + Constant [ int SQLT_FLT ] { 4 } + Constant [ int SQLT_UIN ] { 68 } + Constant [ int SQLT_LNG ] { 8 } + Constant [ int SQLT_LBI ] { 24 } + Constant [ int SQLT_BIN ] { 23 } + Constant [ int SQLT_ODT ] { 156 } + Constant [ int SQLT_BDOUBLE ] { 22 } + Constant [ int SQLT_BFLOAT ] { 21 } + Constant [ int SQLT_BOL ] { 252 } + Constant [ int OCI_B_NTY ] { 108 } + Constant [ int SQLT_NTY ] { 108 } + Constant [ string OCI_SYSDATE ] { SYSDATE } + Constant [ int OCI_B_BFILE ] { 114 } + Constant [ int OCI_B_CFILEE ] { 115 } + Constant [ int OCI_B_CLOB ] { 112 } + Constant [ int OCI_B_BLOB ] { 113 } + Constant [ int OCI_B_ROWID ] { 104 } + Constant [ int OCI_B_CURSOR ] { 116 } + Constant [ int OCI_B_BIN ] { 23 } + Constant [ int OCI_B_INT ] { 3 } + Constant [ int OCI_B_NUM ] { 2 } + Constant [ int OCI_B_BOL ] { 252 } + Constant [ int OCI_FETCHSTATEMENT_BY_COLUMN ] { 16 } + Constant [ int OCI_FETCHSTATEMENT_BY_ROW ] { 32 } + Constant [ int OCI_ASSOC ] { 1 } + Constant [ int OCI_NUM ] { 2 } + Constant [ int OCI_BOTH ] { 3 } + Constant [ int OCI_RETURN_NULLS ] { 4 } + Constant [ int OCI_RETURN_LOBS ] { 8 } + Constant [ int OCI_DTYPE_FILE ] { 56 } + Constant [ int OCI_DTYPE_LOB ] { 50 } + Constant [ int OCI_DTYPE_ROWID ] { 54 } + Constant [ int OCI_D_FILE ] { 56 } + Constant [ int OCI_D_LOB ] { 50 } + Constant [ int OCI_D_ROWID ] { 54 } + Constant [ int OCI_TEMP_CLOB ] { 2 } + Constant [ int OCI_TEMP_BLOB ] { 1 } + Constant [ int OCI_FO_END ] { 1 } + Constant [ int OCI_FO_ABORT ] { 2 } + Constant [ int OCI_FO_REAUTH ] { 4 } + Constant [ int OCI_FO_BEGIN ] { 8 } + Constant [ int OCI_FO_ERROR ] { 16 } + Constant [ int OCI_FO_NONE ] { 1 } + Constant [ int OCI_FO_SESSION ] { 2 } + Constant [ int OCI_FO_SELECT ] { 4 } + Constant [ int OCI_FO_TXNAL ] { 8 } + Constant [ int OCI_FO_RETRY ] { 25410 } } - Functions { diff --git a/php-pecl-oci8.spec b/php-pecl-oci8.spec index ff0f308..bf4ed08 100644 --- a/php-pecl-oci8.spec +++ b/php-pecl-oci8.spec @@ -11,32 +11,35 @@ ## NOTICE may require build with --define '_smp_mflags -j1' (f41+) +%global pie_vend oci8 +%global pie_proj oci8 %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global pecl_name oci8 %global ini_name 40-%{pecl_name}.ini %global sources %{pecl_name}-%{version} %global _configure ../%{sources}/configure -%global oraclever 23.7 +%global oraclever 23.9 %global oraclemax 24 %global oraclelib 23.1 %global oracledir 23 -%global with_dtrace 1 +%bcond_without dtrace Summary: Extension for Oracle Database Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 3.4.0 -Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Version: 3.4.1 +Release: 1%{?dist} License: PHP-3.01 URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{sources}.tgz +# from package.xml, but build only for 8.4+ BuildRequires: %{?scl_prefix}php-devel >= 8.2 BuildRequires: %{?scl_prefix}php-pear -%if %{with_dtrace} +%if %{with dtrace} BuildRequires: %{?dtsprefix}systemtap-sdt-devel %if 0%{?fedora} >= 41 BuildRequires: %{?dtsprefix}systemtap-sdt-dtrace @@ -54,10 +57,15 @@ Obsoletes: %{?scl_prefix}php-%{pecl_name} < 8.4 %else Conflicts: %{?scl_prefix}php-%{pecl_name} < 8.4 %endif +# Extension Provides: %{?scl_prefix}php-%{pecl_name} = 1:%{version} Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = 1:%{version} +# PECL Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} +# PIE +Provides: %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version} +Provides: %{?scl_prefix}php-%{pie_vend}-%{pie_proj} = %{version} %description @@ -165,7 +173,7 @@ mkdir ZTS %build %{?dtsenable} -%if %{with_dtrace} +%if %{with dtrace} export PHP_DTRACE=yes %endif @@ -241,6 +249,14 @@ done %changelog +* Sun Dec 28 2025 Remi Collet - 3.4.1-1 +- update to 3.4.1 +- add pie virtual provides +- F43: re-enable dtrace + +* Mon Sep 29 2025 Remi Collet - 3.4.0-4 +- Fedora 43: disable dtrace + * Wed Mar 12 2025 Remi Collet - 3.4.0-3 - use oracle client library version 23.7 on x86_64 and arm64 - re-license spec file to CECILL-2.1 -- cgit