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
commit49e4470a07255d847a21a00ca8f74d7dbaaf3cf9 (patch)
treef13a1f05caa5e01d58892c23882c3f420401ae92
parent4b87459e68eec5243e3428ae02c0e4b7b3c4f0c2 (diff)
php-pecl-oci8: 2.0.8 - New package
-rw-r--r--php54.spec25
1 files changed, 20 insertions, 5 deletions
diff --git a/php54.spec b/php54.spec
index 79ae04d..ef21a52 100644
--- a/php54.spec
+++ b/php54.spec
@@ -553,16 +553,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, php54w-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