On 12/09/2009 05:54 PM, Philipp Thomas wrote:
* Dave Plater (dplater@webafrica.org.za) [20091209 10:47]:
and that causes rpmbuild to rm-rf %{_defaultdocdir}/bacula before copying the files over.
Yes. You have to copy all additional files yourself in the install stage and then specify them with path name like
%doc %{_defaultdocdir}/%{name}
If you only specify files rpmbuild will first remove the directory and then copy the specified files from the source directory to the documentation directory.
Philipp
What determines the source directory? Do you have a link to somewhere where this is explained in some detail, I find maximum rpm lacking in certain explanations. Thanks Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org