Files in the directory excep some included as doc

Conrad Meyer konrad at tylerc.org
Tue Feb 24 21:41:35 UTC 2009


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)
>
> Any hints would be appreciated,
>
> Thanks,
>
> Pierre

Move bar at the end of %install; add it to %doc normally.

Regards,
-- 
Conrad Meyer <konrad at tylerc.org>




More information about the fedora-devel-list mailing list