Bug 72372

Summary: php-4.1.2-7.3.3 Package has too much Requirements for installation
Product: [Retired] Red Hat Linux Reporter: Klaus Steinberger <klaus.steinberger>
Component: phpAssignee: Phil Copeland <copeland>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-08-23 10:57:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
This patch removes the too strong requirements from the spec file none

Description Klaus Steinberger 2002-08-23 08:20:08 UTC
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:

imap
imap-devel
mysql
mysql-devel
postgresql
postgresql-devel
ucd-snmp
ucd-snmp-util
ucd-snmp-devel
unixODBC
unixODBC-devel

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
installation!


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.try to install php-4.1.2-7.3.3 without postgresql
2.
3.
	

Additional info:

Comment 1 Klaus Steinberger 2002-08-23 08:24:38 UTC
Created attachment 72504 [details]
This patch removes the too strong requirements from the spec file

Comment 2 Ingo T. Storm 2002-08-23 10:05:41 UTC
Just a minor addition: I tried to use the patch and realized that (f)lex is 
missing in the BuildRequirements.

IngoTee

Comment 3 Ingo T. Storm 2002-08-23 10:57:21 UTC
libtool and gcc-c++ are missing from BuildRequires, too.

To be really strict: so are gcc, cpp.

regards,
IngoTee

Comment 4 Phil Copeland 2002-08-23 13:40:53 UTC
You'll find a much longer and involved discussion in #72007

*** This bug has been marked as a duplicate of 72007 ***