automatic packaging of _docdir?

Florian Festi ffesti at
Mon Sep 7 10:54:10 UTC 2015

On 09/07/2015 12:43 PM, Miroslav Suchý wrote:
> Dne 7.9.2015 v 12:40 Florian Festi napsal(a):
>> Can you please provide the full spec file. There is a bug in rpm-4.12
>> wrt %doc that got fixed in 4.13. But the information you provide does
>> not really match. Are the the files in %{_docdir} listed (implicitly) in
>> the file section else where? See also
>> The bug actually is that all files in %{_docdir} get added if %doc is
>> used. With the fix all files installed without using %doc need to be
>> listed in %files. This still all doesn't explain why they are listed
>> twice unless there are listed elsewhere in your spec.
Yeah, that explains it: You have two %doc directives which both try to
add all files in %{_docdir} due to the bug mentioned above. You can try
if merging them into one directive solves your problem.



Red Hat GmbH, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael
O'Neill, Charles Peters

More information about the Rpm-list mailing list