On Tue, 2017-02-07 at 16:59 +0100, Olaf Hering wrote:
On Tue, Feb 07, Michael Schroeder wrote:
On Tue, Feb 07, 2017 at 02:31:54PM +0100, Olaf Hering wrote:
How is one supposed to replace '%doc COPYING'?
Not at all.
I just looked at the pcre failure and its specfile, which looked odd given that '%doc file file ...' is common usage. But given the low number of failures its clear that the bug is likely in pcre, and there is no need to touch every package.
Olaf
I took the time to propose a fix for pcre - which can hopefully serve as an example to show what is going wrong here... the submission can be found at: https://build.opensuse.org/request/show/455313 %doc COPYING instructs rpm to copy 'COPYING' to %_docdir/%{name} - but anything else that was copied there by the .spec file by other means (make install, cp, ...) is NOT listed in the %files section. So, adding %{_docdir}/%{name} to the %files section instructs RPM to also grab those files we put there. Cheers, Dominique