https://bugzilla.redhat.com/show_bug.cgi?id=979124
--- Comment #47 from Michael Schwendt <bugs.michael(a)gmx.net> ---
The FPC ticket covers a few work-arounds.
1) If the files in the -doc package need to be stored in %_docdir/%name, you
cannot use %doc magic in the base package to include files from builddir. You
need to install the files into the %buildroot in %install, so you can include
them via full %_docdir/%name/foo paths.
2) If the files in the -doc package may be placed in a different path, figure
out whether there is an option to install the HTML docs into a specific path.
Alternatively, move them at the end of %install.
Note that one common way to relocate doc files is to move them from %buildroot
into builddir (e.g. from %buildroot to $(pwd)/_tmp_docs) and then use %doc
magic in the subpackage %files list to include those files. For the -doc
package the files will end up in %_docdir/%name-doc then, not %_docdir/%name.
Also note that a set of %exclude lines would work, too, but bears a risk of
duplicating future doc files again when you forget to add new %excludes for
them.
Also who owns the doc root directory?
Both packages may own it based on:
https://fedoraproject.org/wiki/Packaging:Guidelines#The_directory_is_owne...
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component