Mailinglist Archive: opensuse-buildservice (148 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: Macro issue for SLES 11 builds?
  • From: Greg Freemyer <greg.freemyer@xxxxxxxxx>
  • Date: Fri, 8 May 2015 10:50:10 -0400
  • Message-id: <>
On Thu, May 7, 2015 at 12:52 PM, Robert Schweikert <rjschwei@xxxxxxxx> wrote:
Hash: SHA1

On 05/06/2015 04:53 PM, Andreas Schwab wrote:
Greg Freemyer <greg.freemyer@xxxxxxxxx> writes:

%doc says "Copy the specified file from the source tree to
/usr/share/doc/packages/<my_package> and include it in the RPM"

%doc doesn't copy anything for an absolute name, it merely sets the
doc flag for that file.

That's what I thought, which is why I added it in front of the
%{_mandir}.... file



Your first post had "%doc %{_mandir}/*" which is a reference to the
directory /usr/man/man1 shown in the error message.

I'm guessing now that all would be fine if had been a reference solely
to the man files: %doc %{_mandir}/man1/*"

The issue being /usr/man/man1 is not owned by your package so it
should not be called out in the %files section.

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups