--- php-mysql.spec 2005-10-16 03:14:26 +0400 +++ php-mysql.my.spec 2005-11-17 11:38:05 +0300 @@ -21,7 +21,7 @@ License: PHP Licence Prereq: php-libs = %get_SVR php-libs # Automatically added by buildreq on Fri Apr 09 2004 -BuildRequires: gcc-c++ hostinfo libMySQL-devel zlib-devel +BuildRequires: gcc-c++ hostinfo libMySQL-devel zlib-devel sed BuildRequires: php-devel = %get_SVR php-devel BuildRequires: automake_1.7 @@ -50,6 +50,7 @@ CFLAGS="$RPM_OPT_FLAGS -fPIC -L%_libdir" export CFLAGS +%__subst "s@for i in lib@for i in %_lib@" configure %configure \ --with-php-config=%_bindir/php-config \ --with-mysql=%_usr