On 2012-02-21 09:49:02 (+0100), Johannes Meixner <jsmeix(a)suse.de> wrote:
On Feb 20 11:45 Stephan Kulow wrote (excerpt):
>... what I'm most afraid of are packages that do
>not build fail, but simply disable X11 support. vim only fails because
>one binary is missing. If vim.spec had used %_bindir/* as many others
>do, it would have left unnoticed ;(
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
in the %files section.
When mandatory files are explicitly listed in the
the build fails intentionally if a mandatory file was not built
which ensures that already existing correctly built binary RPMs
are not overwritten by broken RPMs where mandatory files are missing
so that OBS and its users cannot use such kind of broken RPMs.
Absolutely. Listing files explicitly is annoying to do, but
things don't go unnoticed, package builds are supposed to be
I even go as far as to grep the log of %configure in some
packages to make sure specific features are enabled.
I do that for MPlayer, for example, which is one big binary with
features built in or not, obviously in packman:
(starting at line 250)
-o) Pascal Bleser
-- we haz green
-- we haz conf