https://bugzilla.redhat.com/show_bug.cgi?id=1094864
--- Comment #9 from Remi Collet <fedora(a)famillecollet.com> ---
For %doc.
If files are in the source tree, they are copied in %_docdir and mark as doc
If files are in the install tree, they stay in their location and mark as doc.
So, see lot of existing pear/pecl packages (in rawhide, all mine are fixed to
use this, and so conform to the PHP Guidelines).
Ex:
%install
...
install -Dpm 644 LICENSE %{buildroot}%{pecl_docdir}/%{pecl_name}/LICENSE
%file
%doc %{pecl_docdir}/%{pecl_name}
$ rpm -q --docfiles php-pecl-xmldiff
/usr/share/doc/pecl/xmldiff/LICENSE
--
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