summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO5
-rw-r--r--REFLECTION7
-rw-r--r--php-pecl-pdo-oci.spec48
3 files changed, 40 insertions, 20 deletions
diff --git a/PHPINFO b/PHPINFO
new file mode 100644
index 0000000..69e54ed
--- /dev/null
+++ b/PHPINFO
@@ -0,0 +1,5 @@
+
+PDO_OCI
+
+PDO Driver for OCI 8 and later => enabled
+PDO_OCI extension version => 1.2.0
diff --git a/REFLECTION b/REFLECTION
new file mode 100644
index 0000000..a1db10e
--- /dev/null
+++ b/REFLECTION
@@ -0,0 +1,7 @@
+Extension [ <persistent> extension #106 PDO_OCI version 1.2.0 ] {
+
+ - Dependencies {
+ Dependency [ pdo (Required) ]
+ }
+}
+
diff --git a/php-pecl-pdo-oci.spec b/php-pecl-pdo-oci.spec
index d88715f..b7661e9 100644
--- a/php-pecl-pdo-oci.spec
+++ b/php-pecl-pdo-oci.spec
@@ -1,38 +1,34 @@
# remirepo spec file for php-pecl-pdo-oci
#
-# Copyright (c) 2024 Remi Collet
-# License: CC-BY-SA-4.0
-# http://creativecommons.org/licenses/by-sa/4.0/
+# SPDX-FileCopyrightText: Copyright 2024-2026 Remi Collet
+# SPDX-License-Identifier: CECILL-2.1
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
%{?scl: %scl_package php-pecl-pdo-oci}
%{!?scl: %global _root_prefix %{_prefix}}
+%global pie_vend pecl
+%global pie_proj pdo_oci
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global pecl_name pdo_oci
%global ini_name 40-%{pecl_name}.ini
%global sources %{pecl_name}-%{version}
%global _configure ../%{sources}/configure
-%ifarch aarch64
-%global oraclever 19.24
-%global oraclemax 20
-%global oraclelib 19.1
-%global oracledir 19.24
-%else
-%global oraclever 23.5
+%global oraclever 23.9
%global oraclemax 24
%global oraclelib 23.1
%global oracledir 23
-%endif
+
%global with_dtrace 1
Summary: PDO driver for Oracle Database
Name: %{?scl_prefix}php-pecl-pdo-oci
-Version: 1.1.0
-Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Version: 1.2.0
+Release: 1%{?dist}
License: PHP-3.01
URL: https://pecl.php.net/package/%{pecl_name}
@@ -43,15 +39,11 @@ BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-pdo
%if %{with_dtrace}
BuildRequires: systemtap-sdt-devel
+%if 0%{?fedora} >= 41
+BuildRequires: systemtap-sdt-dtrace
%endif
-%ifarch aarch64
-BuildRequires: oracle-instantclient%{oraclever}-devel
-# Should requires libclntsh.so.19.1()(aarch-64), but it's not provided by Oracle RPM.
-Requires: libclntsh.so.%{oraclelib}
-AutoReq: 0
-%else
-BuildRequires: (oracle-instantclient-devel >= %{oraclever} with oracle-instantclient-devel < %{oraclemax})
%endif
+BuildRequires: (oracle-instantclient-devel >= %{oraclever} with oracle-instantclient-devel < %{oraclemax})
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
@@ -59,10 +51,15 @@ Requires: %{?scl_prefix}php(api) = %{php_core_api}
%if "%{php_version}" < "8.4"
Conflicts: %{?scl_prefix}php-oci8 < 8.4
%endif
+# Ext
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
@@ -190,6 +187,17 @@ done
%changelog
+* Wed Jan 7 2026 Remi Collet <remi@remirepo.net> - 1.2.0-1
+- update to 1.2.0
+- add pie virtual provides
+
+* Fri Jul 18 2025 Remi Collet <remi@remirepo.net> - 1.1.0-3
+- add fix for PHP 8.5.0alpha2 using upstream patches
+
+* Wed Mar 12 2025 Remi Collet <remi@remirepo.net> - 1.1.0-2
+- use oracle client library version 23.7 on x86_64 and arm64
+- re-license spec file to CECILL-2.1
+
* Wed Aug 21 2024 Remi Collet <remi@remirepo.net> - 1.1.0-1
- update to 1.1.0