summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-08-01 15:54:20 +0200
committerRemi Collet <fedora@famillecollet.com>2014-08-01 15:54:20 +0200
commit43d8ddcd5a7149ed12cf61433f497b9d8caae1b0 (patch)
tree694a158aab4f526de482d15a611ee5a6582d4704
parent30cc5aa6c958b1d98298439d57b9842bd7427c63 (diff)
php-pecl-oci8: 2.0.8 - New package
-rw-r--r--php56.spec25
1 files changed, 20 insertions, 5 deletions
diff --git a/php56.spec b/php56.spec
index 1a14d35..737fe7b 100644
--- a/php56.spec
+++ b/php56.spec
@@ -605,16 +605,31 @@ License: PHP
BuildRequires: oracle-instantclient-devel >= %{oraclever}
Requires: php-pdo%{?_isa} = %{version}-%{release}
Provides: php_database
-Provides: php-pdo_oci = %{oci8ver}, php-pdo_oci%{?_isa} = %{oci8ver}
-Provides: php-pecl-oci8 = %{oci8ver}, php-pecl-oci8%{?_isa} = %{oci8ver}
+Provides: php-pdo_oci, php-pdo_oci%{?_isa}
+Obsoletes: php-pecl-oci8 < %{oci8ver}
+Conflicts: php-pecl-oci8 >= %{oci8ver}
Provides: php-pecl(oci8) = %{oci8ver}, php-pecl(oci8)%{?_isa} = %{oci8ver}
-# Should requires libclntsh.so.11.1, but it's not provided by Oracle RPM.
+# Should requires libclntsh.so.12.1, but it's not provided by Oracle RPM.
AutoReq: 0
Obsoletes: php53-oci8, php53u-oci8, php54-oci8, php55u-oci8, php56u-oci8
%description oci8
-The php-oci8 package contains a dynamic shared object that will add
-support for accessing OCI8 databases to PHP.
+The php-oci8 packages provides the OCI8 extension version %{oci8ver}
+and the PDO driver to access Oracle Database.
+
+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
+in the database installation, or in the free Oracle Instant Client
+available from Oracle.
+
+Notice:
+- php-oci8 provides oci8 and pdo_oci extensions from php sources.
+- php-pecl-oci8 only provides oci8 extension.
+
+Documentation is at http://php.net/oci8 and http://php.net/pdo_oci
%endif
%package snmp