diff options
Diffstat (limited to 'php-pecl-oci8.spec')
-rw-r--r-- | php-pecl-oci8.spec | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/php-pecl-oci8.spec b/php-pecl-oci8.spec index 8b6084d..ff0f308 100644 --- a/php-pecl-oci8.spec +++ b/php-pecl-oci8.spec @@ -1,38 +1,34 @@ # remirepo spec file for php-pecl-oci8 # -# Copyright (c) 2014-2024 Remi Collet -# License: CC-BY-SA -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2014-2025 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-oci8} %{!?scl: %global _root_prefix %{_prefix}} +## NOTICE may require build with --define '_smp_mflags -j1' (f41+) + %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 -%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: Extension for Oracle Database Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 3.4.0 -Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP-3.01 URL: https://pecl.php.net/package/%{pecl_name} @@ -46,14 +42,7 @@ BuildRequires: %{?dtsprefix}systemtap-sdt-devel BuildRequires: %{?dtsprefix}systemtap-sdt-dtrace %endif %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 Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} @@ -252,6 +241,10 @@ done %changelog +* Wed Mar 12 2025 Remi Collet <remi@remirepo.net> - 3.4.0-3 +- use oracle client library version 23.7 on x86_64 and arm64 +- re-license spec file to CECILL-2.1 + * Wed Sep 25 2024 Remi Collet <remi@remirepo.net> - 3.4.0-2 - spec cleanup |