Files in the directory excep some included as doc
Adam Williamson
awilliam at redhat.com
Tue Feb 24 22:29:58 UTC 2009
On Tue, 2009-02-24 at 23:16 +0100, Pierre-Yves wrote:
> %{_datadir}/R/library/%{packname}/
>
> %doc %{_datadir}/R/library/%{packname}/doc
> %doc %{_datadir}/R/library/%{packname}/DESCRIPTION
> %doc %{_datadir}/R/library/%{packname}/html
> %doc %{_datadir}/R/library/%{packname}/late
>
> This obviously returns "File listed twice" but I was wondering if I
> could find a way to avoid to add the content of the whole directory.
>
> Just wondering if it is possible, it might not be. I already asked spot
> who had no idea about that.
Does:
%{_datadir}/R/library/%{packname}
%exclude %{_datadir}/R/library/%{packname}/doc
%doc %{_datadir}/R/library/%{packname}/doc
work? I haven't actually tried exactly that situation before, but I
think it *may* work that way.
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
http://www.happyassassin.net
More information about the devel
mailing list