[Fedora-packaging] help on PreReq and trigges for texinfo

Patrice Dumas pertusus at free.fr
Tue Jan 22 10:56:31 UTC 2008


Hello,

In texinfo, for the info subpackage that contains /sbin/install-info,
there is:

# By making info prereq bash, other packages which have triggers based on
# info don't run those triggers until bash is in place as well. This is an
# ugly method of doing it (triggers which fire on set intersection would
# be better), but it's the best we can do for now. Talk to Erik before
# removing this.
Prereq: bash

I have found
http://people.redhat.com/laroche/pyrpm/pyrpm-devel.html
which states that triggers are run after %post. So I think that it could
be replaced by
Requires(post): bash
But it also seems that rpm adds automatically a Requires(post): /bin/sh
for packages that have a %post. So it even seems to me that this can be
entirely dropped.

Advices?

--
Pat




More information about the Fedora-packaging mailing list