summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php56.spec13
1 files changed, 10 insertions, 3 deletions
diff --git a/php56.spec b/php56.spec
index 0f17d28..4b7f7ea 100644
--- a/php56.spec
+++ b/php56.spec
@@ -135,7 +135,7 @@ Version: 5.6.4
%if 0%{?snapdate:1}%{?rcver:1}
Release: 0.1.%{?snapdate}%{?rcver}%{?dist}
%else
-Release: 1%{?dist}
+Release: 2%{?dist}
%endif
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
@@ -845,11 +845,12 @@ License: PHP
Requires: php-pdo%{?_isa} = %{version}-%{release}
BuildRequires: freetds-devel >= 0.91
Provides: php-pdo_dblib, php-pdo_dblib%{?_isa}
+Provides: php-sybase_ct, php-sybase_ct%{?_isa}
Obsoletes: php53-mssql, php53u-mssql, php54-mssql, php54w-mssql, php55u-mssql, php55w-mssql, php56u-mssql, php56w-mssql
%description mssql
The php-mssql package contains a dynamic shared object that will
-add MSSQL database support to PHP. It uses the TDS (Tabular
+add MSSQL and Sybase database support to PHP. It uses the TDS (Tabular
DataStream) protocol through the freetds library, hence any
database server which supports TDS can be accessed.
@@ -1253,6 +1254,7 @@ build --libdir=%{_libdir}/php \
--with-mcrypt=shared,%{_prefix} \
--with-tidy=shared,%{_prefix} \
--with-mssql=shared,%{_prefix} \
+ --with-sybase-ct=shared,%{_prefix} \
--enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \
--enable-shmop=shared \
--enable-posix=shared \
@@ -1394,6 +1396,7 @@ build --includedir=%{_includedir}/php-zts \
--with-mcrypt=shared,%{_prefix} \
--with-tidy=shared,%{_prefix} \
--with-mssql=shared,%{_prefix} \
+ --with-sybase-ct=shared,%{_prefix} \
--enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared \
--enable-shmop=shared \
--enable-posix=shared \
@@ -1583,7 +1586,7 @@ for mod in pgsql odbc ldap snmp xmlrpc imap \
sqlite3 \
%endif
enchant phar fileinfo intl \
- mcrypt tidy pdo_dblib mssql pspell curl wddx \
+ mcrypt tidy pdo_dblib mssql sybase_ct pspell curl wddx \
posix shmop sysvshm sysvsem sysvmsg recode xml \
; do
case $mod in
@@ -1635,6 +1638,7 @@ cat files.mysql \
# Split out the PDO modules
cat files.pdo_dblib >> files.mssql
+cat files.sybase_ct >> files.mssql
cat files.pdo_pgsql >> files.pgsql
cat files.pdo_odbc >> files.odbc
%if %{with_oci8}
@@ -1943,6 +1947,9 @@ fi
%changelog
+* Mon Dec 15 2014 Remi Collet <remi@fedoraproject.org> 5.6.4-2
+- add sybase_ct extension
+
* Wed Dec 10 2014 Remi Collet <remi@fedoraproject.org> 5.6.4-1
- Update to 5.6.4
http://www.php.net/releases/5_6_4.php