Bug 12300

Summary: redundant prereq in glibc spec file
Product: [Retired] Red Hat Raw Hide Reporter: Jonathan Kamens <jik>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
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: 2000-06-15 16:03:16 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:

Description Jonathan Kamens 2000-06-15 14:36:02 UTC
The spec file for glibc-2.1.90-17 contains:

Prereq: kernel-headers
Requires: kernel-headers >= 2.2.1

Isn't this redundant?  That is, doesn't the second line imply the first, in
which case the first should be removed?

Comment 1 Bill Nottingham 2000-06-15 16:03:15 UTC
I believe it's there in that you can't prereq a particular
*version* of a package.

Comment 2 Jakub Jelinek 2000-08-25 16:16:38 UTC
No, the second line does not imply the first, Prereq means that kernel-headers
must be installed already at the time glibc-devel is being installed, as opposed
to Requires which means the requirement can be fulfilled within the same transaction set.