summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-06-17 11:28:39 +0200
committerRemi Collet <remi@remirepo.net>2019-06-17 11:28:39 +0200
commit808d33bb05ff0d24adad7cc06e5d9c38018a63d6 (patch)
tree9c163f460fcd52fbebb6a0dc7e4c3d315b39ecb3
parentc1f5ff95ba366a25e000037bb43f1cbd33888f49 (diff)
use oracle client library version 19.3
-rw-r--r--php.spec14
1 files changed, 12 insertions, 2 deletions
diff --git a/php.spec b/php.spec
index 08f2349..a9ebe3b 100644
--- a/php.spec
+++ b/php.spec
@@ -55,7 +55,13 @@
%global mysql_sock %(mysql_config --socket 2>/dev/null || echo /var/lib/mysql/mysql.sock)
+%if 0%{?rhel} == 6
%global oraclever 18.3
+%global oraclelib 18.1
+%else
+%global oraclever 19.3
+%global oraclelib 19.1
+%endif
# Build for LiteSpeed Web Server (LSAPI)
%global with_lsws 1
@@ -131,7 +137,7 @@
Summary: PHP scripting language for creating dynamic web sites
Name: %{?scl_prefix}php
Version: %{upver}%{?rcver:~%{rcver}}
-Release: 1%{?dist}
+Release: 2%{?dist}
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
# TSRM is licensed under BSD
@@ -629,7 +635,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.
@@ -929,6 +935,7 @@ low-level PHP extension for the libsodium cryptographic library.
%patch42 -p1 -b .systzdata
%endif
%patch43 -p1 -b .headers
+sed -e 's/php-devel/%{?scl_prefix}php-devel/' -i scripts/phpize.in
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
%patch45 -p1 -b .ldap_r
%endif
@@ -1888,6 +1895,9 @@ fi
%changelog
+* Mon Jun 17 2019 Remi Collet <remi@remirepo.net> - 7.2.20~RC1-2
+- use oracle client library version 19.3
+
* Tue Jun 11 2019 Remi Collet <remi@remirepo.net> - 7.2.20~RC1-1
- update to 7.2.20RC1