public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Joe Orton <jorton@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/php] private-php86: - use mysql_config in libdir directly to avoid biarch build failures
Date: Fri, 27 Nov 2026 07:24:26 GMT [thread overview]
Message-ID: <179576426692.1.16585686409423202988.rpms-php-c7b0a2960c67@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/php
Branch : private-php86
Commit : c7b0a2960c67c93955d0d3e4406afd1b9dc2ad15
Author : Joe Orton <jorton@redhat.com>
Date : 2010-11-01T09:09:36+00:00
Stats : +10/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/php/c/c7b0a2960c67c93955d0d3e4406afd1b9dc2ad15?branch=private-php86
Log:
- use mysql_config in libdir directly to avoid biarch build failures
---
diff --git a/php.spec b/php.spec
index b3cc5d7..68d991c 100644
--- a/php.spec
+++ b/php.spec
@@ -14,6 +14,10 @@
# Regression tests take a long time, you can skip 'em with this
%{!?runselftest: %{expand: %%global runselftest 1}}
+# Use the arch-specific mysql_config binary to avoid mismatch with the
+# arch detection heuristic used by bindir/mysql_config.
+%define mysql_config %{_libdir}/mysql/mysql_config
+
%ifarch %{ix86} x86_64
%global with_fpm 1
%else
@@ -23,7 +27,7 @@
Summary: PHP scripting language for creating dynamic web sites
Name: php
Version: 5.3.3
-Release: 3%{?dist}
+Release: 4%{?dist}
License: PHP
Group: Development/Languages
URL: http://www.php.net/
@@ -630,7 +634,7 @@ build --enable-force-cgi-redirect \
--with-xmlrpc=shared \
--with-ldap=shared --with-ldap-sasl \
--with-mysql=shared,%{_prefix} \
- --with-mysqli=shared,%{_bindir}/mysql_config \
+ --with-mysqli=shared,%{mysql_config} \
--with-interbase=shared,%{_libdir}/firebird \
--with-pdo-firebird=shared,%{_libdir}/firebird \
--enable-dom=shared \
@@ -644,7 +648,7 @@ build --enable-force-cgi-redirect \
--enable-fastcgi \
--enable-pdo=shared \
--with-pdo-odbc=shared,unixODBC,%{_prefix} \
- --with-pdo-mysql=shared,%{_prefix} \
+ --with-pdo-mysql=shared,%{mysql_config} \
--with-pdo-pgsql=shared,%{_prefix} \
--with-pdo-sqlite=shared,%{_prefix} \
--with-pdo-dblib=shared,%{_prefix} \
@@ -953,6 +957,9 @@ fi
%files enchant -f files.enchant
%changelog
+* Mon Nov 1 2010 Joe Orton <jorton@redhat.com> - 5.3.3-4
+- use mysql_config in libdir directly to avoid biarch build failures
+
* Fri Oct 29 2010 Joe Orton <jorton@redhat.com> - 5.3.3-3
- rebuild for new net-snmp
reply other threads:[~2026-11-27 7:24 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=179576426692.1.16585686409423202988.rpms-php-c7b0a2960c67@fedoraproject.org \
--to=jorton@redhat.com \
--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