Files in the directory excep some included as doc

Pierre-Yves pingou at pingoured.fr
Tue Feb 24 21:48:59 UTC 2009


On Tue, 2009-02-24 at 13:41 -0800, Conrad Meyer wrote:
> On Tuesday 24 February 2009 01:36:14 pm Pierre-Yves wrote:
> > Dear list,
> >
> > 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




More information about the fedora-devel-list mailing list