[Fedora-packaging] Questions about dependencies in rpm packages

Ignacio Vazquez-Abrams ivazqueznet at gmail.com
Mon Nov 17 01:27:19 UTC 2008

On Sun, 2008-11-16 at 23:58 +0100, Olivier Bourdon wrote:
> Hello
> I have been using this wonderfull Fedora distro since FC2 and I am
> currently using FC8 migrating soon to
> FC10 as soon as it becomes official at the end of the month
> One thing just started puzzling me is when I look at the list of
> dependencies of say BackupPC

>       5 /bin/sh
> why are some of these duplicated ?
> I can guess from the src.rpm file for initscripts that this comes from
> the lines:
> Requires(preun): initscripts, chkconfig
> Requires(post): initscripts, chkconfig, %{_sbindir}/usermod
> Requires(postun): initscripts
> but what about /bin/sh ??

/bin/sh is the default interpreter for the script sections of the
package, therefore it gets added once per script.

Ignacio Vazquez-Abrams <ivazqueznet at gmail.com>

PLEASE don't CC me; I'm already subscribed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-packaging/attachments/20081116/c2f0e47e/attachment.sig>

More information about the Fedora-packaging mailing list