Mock alternating /etc/php.ini file
Paul Howarth
paul at city-fan.org
Tue Oct 19 16:59:49 UTC 2010
On Tue, 19 Oct 2010 18:30:25 +0200
David Hrbáč <hrbac.conf at 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.
More information about the buildsys
mailing list