Re: Requires: initscripts?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthias Saou
<thias@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
writes:

> I've never added "Requires: initscripts" to packages which contain an
> init script before.

When your initscripts do not work without /etc/init.d/functions and the
initscripts are an essential part of your package (e.g. not sample
%doc), you have to add corresponding Requires: entries.


> So my question : As long as the Requires(...) for the scriplets are fine
> in order to get the package properly installed, updated and erased, do
> we still need to add that explicit requirement?

It depends how far we want to abuse rpm bugs/missing features. With
current rpm, it is fine to add only the tagged Requires(...) because
they implicate an untagged Requires: too.

The feature, that deps from Requires(post/preun): can be removed after
installation, and will be reinstalled at removal, is not implemented,
afaik.



Enrico

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux