[Fedora-packaging] Re: Requires: initscripts?

Matthias Saou thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net
Tue May 8 09:52:04 UTC 2007


Axel Thimm wrote :

> On Tue, May 08, 2007 at 10:38:00AM +0200, Matthias Saou wrote:
> > Hi,
> > 
> > I've never added "Requires: initscripts" to packages which contain an
> > init script before. I've now been asked to in this review :
> > 
> > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233455
> > 
> > I like to avoid as many explicit requirements as possible, and in this
> > particular case, the "require packages owning parent directories of our
> > files and directories" of recent rpm versions (unfortunately not in
> > Fedora, though IIRC) would take care of things.
> > 
> > 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?
> > 
> > I would say we don't, but I prefer asking to be sure...
> > 
> > Matthias
> 
> Doesn't initscripts belong to the always-assume-installed-set-of-packages-
> so-don't-redundandly-require-it-unless-you-need-a-versioned-dependency?
> 
> Just like gcc, make etc?

That would be the list of assumed _build_ requirements. I was asking
about a normal requirement for a package containing an init script
in /etc/rc.d/init.d/.

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora Core release 6 (Zod) - Linux kernel 2.6.20-1.2948.fc6
Load : 1.04 2.30 2.26




More information about the Fedora-packaging mailing list