Mailinglist Archive: opensuse-factory (807 mails)

< Previous Next >
Re: [opensuse-factory] RPM 4.13.0 in Staging needs your help
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
is no need to touch every package.


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:

%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.

< Previous Next >