* Mon Jan 16 2006 Joe Orton <jorton@redhat.com> 5.1.2-3

- only build xmlreader and xmlwriter shared (#177810)
This commit is contained in:
jorton 2006-01-16 10:15:42 +00:00
parent 030efd1a95
commit fbbd35ccf7

View File

@ -3,7 +3,7 @@
Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor) Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
Name: php Name: php
Version: 5.1.2 Version: 5.1.2
Release: 2 Release: 3
License: The PHP License License: The PHP License
Group: Development/Languages Group: Development/Languages
URL: http://www.php.net/ URL: http://www.php.net/
@ -383,7 +383,7 @@ build --enable-force-cgi-redirect \
--with-snmp=shared,%{_prefix} \ --with-snmp=shared,%{_prefix} \
--enable-soap=shared \ --enable-soap=shared \
--with-xsl=shared,%{_prefix} \ --with-xsl=shared,%{_prefix} \
--enable-xmlreader=shared \ --enable-xmlreader=shared --enable-xmlwriter=shared \
--enable-fastcgi \ --enable-fastcgi \
--enable-pdo=shared \ --enable-pdo=shared \
--with-pdo-odbc=shared,unixODBC,%{_prefix} \ --with-pdo-odbc=shared,unixODBC,%{_prefix} \
@ -398,7 +398,7 @@ build --with-apxs2=%{_sbindir}/apxs \
--without-mysql --without-gd \ --without-mysql --without-gd \
--without-odbc --disable-dom \ --without-odbc --disable-dom \
--disable-dba --without-unixODBC \ --disable-dba --without-unixODBC \
--disable-pdo --disable-pdo --disable-xmlreader --disable-xmlwriter
popd popd
%check %check
@ -457,7 +457,7 @@ install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/session
# Generate files lists and stub .ini files for each subpackage # Generate files lists and stub .ini files for each subpackage
for mod in pgsql mysql mysqli odbc ldap snmp xmlrpc imap \ for mod in pgsql mysql mysqli odbc ldap snmp xmlrpc imap \
mbstring ncurses gd dom xsl soap bcmath dba xmlreader \ mbstring ncurses gd dom xsl soap bcmath dba xmlreader xmlwriter \
pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite; do pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite; do
cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${mod}.ini <<EOF cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${mod}.ini <<EOF
; Enable ${mod} extension module ; Enable ${mod} extension module
@ -469,8 +469,8 @@ EOF
EOF EOF
done done
# The dom, xsl and xmlreader modules are all packaged in php-xml # The dom, xsl and xml* modules are all packaged in php-xml
cat files.dom files.xsl files.xmlreader > files.xml cat files.dom files.xsl files.xml{reader,writer} > files.xml
# The mysql and mysqli modules are both packaged in php-mysql # The mysql and mysqli modules are both packaged in php-mysql
cat files.mysqli >> files.mysql cat files.mysqli >> files.mysql
@ -537,6 +537,9 @@ rm files.*
%files pdo -f files.pdo %files pdo -f files.pdo
%changelog %changelog
* Mon Jan 16 2006 Joe Orton <jorton@redhat.com> 5.1.2-3
- only build xmlreader and xmlwriter shared (#177810)
* Fri Jan 13 2006 Joe Orton <jorton@redhat.com> 5.1.2-2 * Fri Jan 13 2006 Joe Orton <jorton@redhat.com> 5.1.2-2
- update to 5.1.2 - update to 5.1.2