From 2a622d447aa07e9a3c1f39933531f9e30f187d4c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 26 Aug 2019 11:23:17 +0200 Subject: use oracle client library version 19.3 --- php-pecl-oci8.spec | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/php-pecl-oci8.spec b/php-pecl-oci8.spec index 63c879d..a7fd8a7 100644 --- a/php-pecl-oci8.spec +++ b/php-pecl-oci8.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-oci8 # -# Copyright (c) 2014-2018 Remi Collet +# Copyright (c) 2014-2019 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -13,14 +13,20 @@ %global pecl_name oci8 %global with_tests 0%{?_with_tests:1} %global ini_name 40-%{pecl_name}.ini +%if 0%{?rhel} == 6 %global oraclever 18.3 +%global oraclelib 18.1 +%else +%global oraclever 19.3 +%global oraclelib 19.1 +%endif %global with_dtrace 1 Summary: Extension for Oracle Database Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 2.2.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 URL: http://pecl.php.net/package/%{pecl_name} @@ -66,7 +72,7 @@ Obsoletes: php72u-pecl-%{pecl_name} <= %{version} Obsoletes: php72w-pecl-%{pecl_name} <= %{version} %endif %if "%{php_version}" > "7.3" -Obsoletes: php73u-pecl-%{pecl_name} <= %{version} +Obsoletes: php73-pecl-%{pecl_name} <= %{version} Obsoletes: php73w-pecl-%{pecl_name} <= %{version} %endif %endif @@ -85,7 +91,7 @@ The extension is linked with Oracle client libraries %{oraclever} (Oracle Instant Client). For details, see Oracle's note "Oracle Client / Server Interoperability Support" (ID 207303.1). -You must install libclntsh.so.%{oraclever} to use this package, provided +You must install libclntsh.so.%{oraclelib} to use this package, provided in the database installation, or in the free Oracle Instant Client available from Oracle. @@ -302,6 +308,9 @@ fi %changelog +* Mon Aug 26 2019 Remi Collet - 2.2.0-2 +- use oracle client library version 19.3 + * Mon Dec 10 2018 Remi Collet - 2.2.0-1 - update to 2.2.0 - raise dependency on PHP 7.0 -- cgit