Matthias Saou
<thias(a)spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net>
wrote:
[...]
> Correct solution in this case can be added by add to devel
%files:
>
> %doc html/*html html/images/*gif html/images/*jpg
Another correct solution, which I prefer, would be to have something
like this :
%install
rm -rf %{buildroot} _html
cp -a html _html
find _html -name 'Makefile*' -exec rm -f {} \;
...
%doc _html/*
This way, the stuff in "html/" can change quite a bit
without breaking
in the package (by being only partially copied).
I prefer to say what is /in/, not what is /left out/, who knows what other
junk shows up there later. It isn't more work for the maintainer.
--
Dr. Horst H. von Brand User #22616
counter.li.org
Departamento de Informatica Fono: +56 32 2654431
Universidad Tecnica Federico Santa Maria +56 32 2654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 2797513