Mailinglist Archive: opensuse-buildservice (136 mails)

< Previous Next >
Re: [opensuse-buildservice] /usr/lib/debug/.build-id reported as unpackaged files
On Wed, 2015-08-19 at 22:45 +0200, Lars Müller wrote:
Hi,

the netwwork:samba:TESTING/samba project failed to build till we
added
an line with

%exclude /usr/lib/debug/.build-id

This is 100% wrong... there is another error inside your .spec file.
Most likely, you're wrongly using %exclude against a binary/library.

%exclude is ONLY suitable to exclude a file to be matched by a glob AND
only if this said file ends up in a different sub-package.

Any other case, if the file is not to be packaged: rm it after it has
been installed.

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

< Previous Next >
Follow Ups
References