Mailinglist Archive: opensuse-factory (807 mails)

< Previous Next >
Re: [opensuse-factory] RPM 4.13.0 in Staging needs your help
On Tue, Feb 07, 2017 at 04:59:42PM +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.

Yes, this is not about %doc, it still works Pine. pcre's install target
installs stuff in %{_datadir}/doc/pcre, the specfile then does this:

mv %{buildroot}%{_datadir}/doc/pcre %{buildroot}/%{_defaultdocdir}/pcre-doc

I.e. files are copied in the doc dir. With old rpm versions, they
automatically got picked up when there was a %doc statement (which
was a bug), now you need to put them in the file list like all
other files.

As said, files copied with %doc are still automatically put into
the file list, that's why this change only breaks a few packages.

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >