Red Hat Bugzilla – Bug 72372
php-4.1.2-7.3.3 Package has too much Requirements for installation
Last modified: 2007-04-18 12:45:51 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020711
Description of problem:
The latest bug fix version of the php RPMS (4.1.2-7.3.3) has too strong
requirements for installation. The main Package requires also any Packages which
are required for the subpackages.
php requires the following packages which should be only required
by the appropriate subpackages:
So it is not possible to install php if e.g. postgresql is not installed. These
requirements should be only in the subpackages.
e.g. php-pgsql should require postgresql.
The -devel Package should be even only BuildPreReqs ! Never Requirements for
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.try to install php-4.1.2-7.3.3 without postgresql
Created attachment 72504 [details]
This patch removes the too strong requirements from the spec file
Just a minor addition: I tried to use the patch and realized that (f)lex is
missing in the BuildRequirements.
libtool and gcc-c++ are missing from BuildRequires, too.
To be really strict: so are gcc, cpp.
You'll find a much longer and involved discussion in #72007
*** This bug has been marked as a duplicate of 72007 ***