public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: - use mysql_config in libdir directly to avoid biarch build failures
@ 2026-11-27 7:24 Joe Orton
0 siblings, 0 replies; only message in thread
From: Joe Orton @ 2026-11-27 7:24 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-27 7:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 7:24 [rpms/php] private-php86: - use mysql_config in libdir directly to avoid biarch build failures Joe Orton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox