Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=488100
--- Comment #68 from Peter Lemenkov lemenkov@gmail.com 2009-04-22 09:27:46 EDT --- (In reply to comment #67)
(In reply to comment #66)
%doc doc/license/IDPL.txt %doc doc/license/README.license.usage.txt
Hum, interesting it means that one file can be listed more than once ?
Nope. Files listed as %doc are handled slightly different that other files.
For example, if you add the following line
%doc doc/license/IDPL.txt
into %files section of subpackages "bar1" and "bar2" of package "foo" then rpmbuild will search for ~/rpmbuild/BUILD/%{pkgname}/doc/license/IDPL.txt and will place it as
/usr/share/doc/foo-bar1-%{version}/IDPL.txt
in the subpackage foo-bar1
and as
/usr/share/doc/foo-bar2-%{version}/IDPL.txt
in the subpackage foo-bar2.
These files have different paths, so they are different.