Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Build System (http://www.linux-archive.org/fedora-build-system/)
-   -   Mock alternating /etc/php.ini file (http://www.linux-archive.org/fedora-build-system/441733-mock-alternating-etc-php-ini-file.html)

David Hrbáč 10-19-2010 04:30 PM

Mock alternating /etc/php.ini file
 
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áč
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys

Paul Howarth 10-19-2010 04:59 PM

Mock alternating /etc/php.ini file
 
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 mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys

David Hrbáč 10-20-2010 06:39 AM

Mock alternating /etc/php.ini file
 
Dne 19.10.2010 18:59, Paul Howarth napsal(a):
> In %post of a a package buildrequired by
> your php-pear package

Good point, thanks for the hint.
DH
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys


All times are GMT. The time now is 03:05 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.