rpms/php/devel php.spec,1.89,1.90

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Dec 1 11:44:23 UTC 2005


Author: jorton

Update of /cvs/dist/rpms/php/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv1193

Modified Files:
	php.spec 
Log Message:
- don't build PDO statically into libphp5.so
- enable xmlreader extension



Index: php.spec
===================================================================
RCS file: /cvs/dist/rpms/php/devel/php.spec,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- php.spec	30 Nov 2005 08:50:40 -0000	1.89
+++ php.spec	1 Dec 2005 11:44:20 -0000	1.90
@@ -378,6 +378,7 @@
       --with-snmp=shared,%{_prefix} \
       --enable-soap=shared \
       --with-xsl=shared,%{_prefix} \
+      --enable-xmlreader=shared \
       --enable-fastcgi \
       --enable-pdo=shared \
       --with-pdo-odbc=shared,unixODBC,%{_prefix} \
@@ -391,7 +392,8 @@
 build --with-apxs2=%{_sbindir}/apxs \
       --without-mysql --without-gd \
       --without-odbc --disable-dom \
-      --disable-dba --without-unixODBC
+      --disable-dba --without-unixODBC \
+      --disable-pdo
 popd
 
 %check
@@ -450,7 +452,7 @@
 
 # Generate files lists and stub .ini files for each subpackage
 for mod in pgsql mysql mysqli odbc ldap snmp xmlrpc imap \
-    mbstring ncurses gd dom xsl soap bcmath dba \
+    mbstring ncurses gd dom xsl soap bcmath dba xmlreader \
     pdo pdo_mysql pdo_pgsql pdo_odbc pdo_sqlite; do
     cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/${mod}.ini <<EOF
 ; Enable ${mod} extension module
@@ -462,8 +464,8 @@
 EOF
 done
 
-# The dom and xsl modules are both packaged in php-xml
-cat files.dom files.xsl > files.xml
+# The dom, xsl and xmlreader modules are all packaged in php-xml
+cat files.dom files.xsl files.xmlreader > files.xml
 
 # The mysql and mysqli modules are both packaged in php-mysql
 cat files.mysqli >> files.mysql
@@ -473,7 +475,7 @@
 cat files.pdo_pgsql >> files.pgsql
 cat files.pdo_odbc >> files.odbc
 
-# Package pdo_sqlite with pdo; isolating sqlite dependencies
+# Package pdo_sqlite with pdo; isolating the sqlite dependency
 # isn't useful at this time since rpm itself requires sqlite.
 cat files.pdo_sqlite >> files.pdo
 
@@ -535,6 +537,7 @@
 - remove pear subpackage
 - enable pdo extensions (php-pdo subpackage)
 - remove non-standard conditional module builds
+- enable xmlreader extension
 
 * Thu Nov 10 2005 Tomas Mraz <tmraz at redhat.com> 5.0.5-6
 - rebuilt against new openssl




More information about the fedora-cvs-commits mailing list