On 2012-02-21 09:49:02 (+0100), Johannes Meixner
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 specified in the %files section.
When mandatory files are explicitly listed in the %files section, 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 dependable. 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: https://pmbs.links2linux.org/package/view_file?file=MPlayer.spec&package=MPlayer&project=Essentials (starting at line 250) cheers -- -o) Pascal Bleser /\\ http://opensuse.org -- we haz green _\_v http://fosdem.org -- we haz conf