summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-08-26 11:23:17 +0200
committerRemi Collet <remi@remirepo.net>2019-08-26 11:23:17 +0200
commit2a622d447aa07e9a3c1f39933531f9e30f187d4c (patch)
tree46a3ba7d128b2bd2c05c7c114e8cf4affb6ef66d
parent9563a80f25efdb6ba5f502b2805988a1ce6e943a (diff)
use oracle client library version 19.3
-rw-r--r--php-pecl-oci8.spec17
1 files 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 <remi@remirepo.net> - 2.2.0-2
+- use oracle client library version 19.3
+
* Mon Dec 10 2018 Remi Collet <remi@remirepo.net> - 2.2.0-1
- update to 2.2.0
- raise dependency on PHP 7.0