Bug 81754

Summary: mkinitrd Rawhide SRPM should BuildPreReq on dietlibc
Product: [Retired] Red Hat Raw Hide Reporter: John Morrissey <jwm>
Component: mkinitrdAssignee: Erik Troan <ewt>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-01-14 14:23:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description John Morrissey 2003-01-13 19:19:50 UTC
Description of problem:
The mkinitrd package (3.4.34-1) in Rawhide requires the "diet" command, so this 
package should BuildPreReq on dietlibc.

--- mkinitrd.spec.orig  Mon Jan 13 19:04:21 2003
+++ mkinitrd.spec       Mon Jan 13 19:04:43 2003
@@ -11,6 +11,7 @@
 Prereq: dev
 Requires: e2fsprogs, /bin/sh, fileutils, grep, mount, gzip, 
tar, /sbin/insmod.static, /sbin/losetup, mktemp >= 1.5-5, findutils, lvm
 Requires: filesystem >= 2.1.0
+BuildPreReq: dietlibc
 BuildRoot: %{_tmppath}/%{name}-root


How reproducible:

Steps to Reproduce:
1. Build the mkinitrd SRPM on a machine that doesn't have the dietlibc package 

Comment 1 Erik Troan 2003-01-14 14:23:21 UTC
dietlibc is only used on i386, and RPM can't code platform specific build requires.