Mailinglist Archive: opensuse-buildservice (148 mails)

< Previous Next >
Re: [opensuse-buildservice] Macro issue for SLES 11 builds?
On Wed, May 6, 2015 at 11:06 AM, Robert Schweikert <rjschwei@xxxxxxxx> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Getting package build failures for SLES 11 SP2 and SP3 as follows:

[ 150s] The following directories from
python-ec2deprecateimg-1.1.0-1.1.x86_64.rpm
[ 150s] are already part of the filesystem RPM:
[ 150s] /usr/share/man/man1

[1]

The spec file contains:

%doc %{_mandir}/*

That's just plain wrong.

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

You are not attempting to do that.

Assuming you have already installed the man page to the right place,
just list it as a file to include in the RPM.

%{_mandir}/*

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

< Previous Next >
References