Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 81754 - mkinitrd Rawhide SRPM should BuildPreReq on dietlibc
Summary: mkinitrd Rawhide SRPM should BuildPreReq on dietlibc
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: mkinitrd
Version: 1.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Erik Troan
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2003-01-13 19:19 UTC by John Morrissey
Modified: 2007-04-18 16:49 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2003-01-14 14:23:21 UTC

Attachments (Terms of Use)

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.

Note You need to log in before you can comment on or make changes to this bug.