From 053f222019f4b1a8eb78b07ed77ad982cef05187 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 4 Dec 2012 10:52:57 +0100 Subject: PHP 5.5: build xml extension shared (provided by php-xml) --- php55.spec | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/php55.spec b/php55.spec index 445d051..776e17a 100644 --- a/php55.spec +++ b/php55.spec @@ -63,7 +63,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: php Version: 5.5.0 %if 0%{?snapdate:1}%{?rcver:1} -Release: 0.3.%{?snapdate}%{?rcver}%{?dist} +Release: 0.4.%{?snapdate}%{?rcver}%{?dist} %else Release: 2%{?dist} %endif @@ -962,6 +962,7 @@ build --enable-force-cgi-redirect \ --with-pdo-firebird=shared,%{_libdir}/firebird \ --enable-dom=shared \ --with-pgsql=shared \ + --enable-xml=shared \ --enable-wddx=shared \ --with-snmp=shared,%{_prefix} \ --enable-soap=shared \ @@ -1009,7 +1010,7 @@ without_shared="--without-gd \ --disable-xmlreader --disable-xmlwriter \ --without-sqlite3 --disable-phar --disable-fileinfo \ --disable-json --without-pspell --disable-wddx \ - --without-curl --disable-posix \ + --without-curl --disable-posix --disable-xml \ --disable-sysvmsg --disable-sysvshm --disable-sysvsem" # Build Apache module, and the CLI SAPI, /usr/bin/php @@ -1075,6 +1076,7 @@ build --enable-force-cgi-redirect \ --with-pdo-firebird=shared,%{_libdir}/firebird \ --enable-dom=shared \ --with-pgsql=shared \ + --enable-xml=shared \ --enable-wddx=shared \ --with-snmp=shared,%{_prefix} \ --enable-soap=shared \ @@ -1287,26 +1289,30 @@ for mod in pgsql mysql mysqli odbc ldap snmp xmlrpc imap \ %endif enchant phar fileinfo intl \ mcrypt tidy pdo_dblib mssql pspell curl wddx \ - posix sysvshm sysvsem sysvmsg recode; do - cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${mod}.ini < $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${ini} < $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/${mod}.ini < $RPM_BUILD_ROOT%{_sysconfdir}/php-zts.d/${ini} < files.${mod} < files.xml +cat files.dom files.xsl files.xml{reader,writer} files.wddx >> files.xml # The mysql and mysqli modules are both packaged in php-mysql cat files.mysqli >> files.mysql @@ -1574,6 +1580,9 @@ fi %changelog +* Tue Dec 4 2012 Remi Collet 5.5.0-0.4.201211301534 +- build xml extension shared (provided by php-xml) + * Mon Dec 3 2012 Remi Collet 5.5.0-0.3.201211301534 - drop some old compatibility provides (php-api, php-zend-abi, php-pecl-*) - obsoletes php55-* -- cgit