public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: jorton <jorton@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/php] private-php86: - don't build PDO statically into libphp5.so
Date: Fri, 27 Nov 2026 07:23:00 GMT	[thread overview]
Message-ID: <179576418064.1.7394377271837752890.rpms-php-0d7ff43d4343@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/php
            Branch : private-php86
            Commit : 0d7ff43d43439b71584096bc6442fd8e96ce0f9b
            Author : jorton <jorton@fedoraproject.org>
            Date   : 2005-12-01T11:44:20+00:00
            Stats  : +8/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/php/c/0d7ff43d43439b71584096bc6442fd8e96ce0f9b?branch=private-php86

            Log:
            - don't build PDO statically into libphp5.so
- enable xmlreader extension

---
diff --git a/php.spec b/php.spec
index 07b725d..2911530 100644
--- a/php.spec
+++ b/php.spec
@@ -378,6 +378,7 @@ build --enable-force-cgi-redirect \
       --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 @@ pushd build-apache
 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 @@ install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/session
 
 # 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
 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_mysql >> files.mysql
 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 @@ rm files.*
 - 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@redhat.com> 5.0.5-6
 - rebuilt against new openssl

                 reply	other threads:[~2026-11-27  7:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179576418064.1.7394377271837752890.rpms-php-0d7ff43d4343@fedoraproject.org \
    --to=jorton@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox