Hi, I have the following scenario. I'm trying to build some php-pear package with Mock for CentOS 4.x. PHP settings within php.ini has memory_limit = 8MB. This memory limit is too low to build the package. I don't want to change php package itself. I have tried: a) package with sed to replace memory setting - fails with access denied on /etc/php.ini b) package containing own /etc/php.ini - conflicts with php-common Any ideas? Thanks, David Hrbáč
On Tue, 19 Oct 2010 18:30:25 +0200 David Hrbáč hrbac.conf@seznam.cz wrote:
Hi, I have the following scenario. I'm trying to build some php-pear package with Mock for CentOS 4.x. PHP settings within php.ini has memory_limit = 8MB. This memory limit is too low to build the package. I don't want to change php package itself. I have tried: a) package with sed to replace memory setting - fails with access denied on /etc/php.ini
Where did you put the sed? In %post of a a package buildrequired by your php-pear package (and which itself requires php-common) - which should work, or in %prep/%build/%install of the php-pear package - which shouldn't?
Paul.
buildsys@lists.fedoraproject.org