Bug 81754 - mkinitrd Rawhide SRPM should BuildPreReq on dietlibc
Summary: mkinitrd Rawhide SRPM should BuildPreReq on dietlibc
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: mkinitrd
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Erik Troan
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
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:
Clone Of:
Environment:
Last Closed: 2003-01-14 14:23:21 UTC
Embargoed:


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

 %description


How reproducible:
Always

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

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.