why do source rpms have "prep" dependencies?

Robert P. J. Day rpjday at mindspring.com
Sun Sep 9 07:33:51 UTC 2007


  i wanted to poke around the mkinird source rpm so i downloaded it
and installed it, and then went to "prep" it via its .spec file:

$ rpmbuild -bp mkinitrd.spec
error: Failed build dependencies:
        parted-devel >= 1.8.5 is needed by mkinitrd-6.0.15-1.fc8.i386
        libdhcp4client-devel is needed by mkinitrd-6.0.15-1.fc8.i386
        libdhcp6client-devel is needed by mkinitrd-6.0.15-1.fc8.i386
        libdhcp-devel >= 1.9 is needed by mkinitrd-6.0.15-1.fc8.i386
        device-mapper-devel is needed by mkinitrd-6.0.15-1.fc8.i386
$

  i'm confused -- why would a source rpm have dependencies for doing a
simple prep?  for actual building perhaps, but doesn't prepping
involve simply unloading the tarball and applying the patches?

rday
-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://crashcourse.ca
========================================================================




More information about the fedora-list mailing list