Mailinglist Archive: opensuse-packaging (232 mails)

< Previous Next >
Re: [opensuse-packaging] New build failures due to xorg-x11 reshuffle
On 21.02.2012 12:42, Juergen Weigert wrote:
On Feb 21, 12 09:49:02 +0100, Johannes Meixner wrote:
Strictly speaking '%_bindir/*' in the %files section of the spec file
means that it does not matter which binaries are built and packaged
(in other words: the packager doesn't care).

Each mandatory file in a package should be explicitly specified
in the %files section.

The files section cannot be used to define mandatory files like this:

%files
/usr/bin/important
/usr/bin/*

RPM would complain that the file /usr/bin/important is now listed twice.
We would need something like

%files
/usr/bin/important
%nodup /usr/bin/*


It will warn you about the duplication, but it doesn't do harm to be
extra careful with bin/important.

Greetings, Stephan



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

< Previous Next >