Files in the directory excep some included as doc

Conrad Meyer konrad at tylerc.org
Tue Feb 24 22:07:17 UTC 2009


On Tuesday 24 February 2009 01:48:59 pm Pierre-Yves wrote:
> On Tue, 2009-02-24 at 13:41 -0800, Conrad Meyer wrote:
> > On Tuesday 24 February 2009 01:36:14 pm Pierre-Yves wrote:
> > > I am wondering if there is any trick that could make me able to say in
> > > the %file section of a spec file
> > > include all what's in the directory foo
> > > except bar
> > > include bar as %doc
> > >
> > > (bar in contained in the directory foo)
> >
> > Move bar at the end of %install; add it to %doc normally.
>
> I do not install bar myself, it's done directly.
>
> Thanks,
> Pierre

That does not stop you from moving it at the end of %install.

-- 
Conrad Meyer <konrad at tylerc.org>




More information about the fedora-devel-list mailing list