Re: automatic packaging of _docdir?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
>> https://bugzilla.redhat.com/show_bug.cgi?id=728959
>>
>> 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.
> 
> SRPM: http://miroslav.suchy.cz/fedora/python-marshmallow-2.0.0b5-2.fc22.src.rpm
> SPEC: http://miroslav.suchy.cz/fedora/python-marshmallow.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.

Florian

-- 

Red Hat GmbH, http://www.de.redhat.com/ Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael
O'Neill, Charles Peters
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list




[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux