diff options
Diffstat (limited to 'php-pecl-pdo-oci.spec')
-rw-r--r-- | php-pecl-pdo-oci.spec | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/php-pecl-pdo-oci.spec b/php-pecl-pdo-oci.spec index d88715f..7d2f2fc 100644 --- a/php-pecl-pdo-oci.spec +++ b/php-pecl-pdo-oci.spec @@ -1,8 +1,8 @@ # 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-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # @@ -15,24 +15,18 @@ %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.7 %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;')} +Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP-3.01 URL: https://pecl.php.net/package/%{pecl_name} @@ -43,15 +37,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} @@ -190,6 +180,10 @@ done %changelog +* 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 |