Red Hat Bugzilla – Bug 353321
rpmlint problems with xguest.spec
Last modified: 2008-03-07 13:14:34 EST
Description of problem:
Ran this against a package build to xguest.spec, it gives me several
xguest.noarch: E: use-tmp-in-%post
xguest.noarch: E: use-of-home-in-%post
I don't think there is any problem with the way I am using /tmp or $HOME in the
xguest.noarch: W: uncompressed-zip /etc/desktop-profiles/xguest.zip
- This is the format saboyon wants, I guess we could open a bug against sabayon.
Created attachment 238111 [details]
Usage of /tmp and $HOME looks legitimate in this case indeed assuming there's no
*.d dir that could be used to drop regular files into instead of doing it in
scriptlets. But we certainly do want to note uses of $HOME in scriptlets in
general, and perhaps /tmp too although there are more valid use cases for it
than $HOME. Apart from maybe downgrading use-of-tmp to a warning, I don't have
good ideas how to improve rpmlint about these cases, do you?
uncompressed-zip is pretty much cosmetic and I have no idea whether quicker
unpacking would be more important than space savings in this case (nor whether
any of those are actually measurable here), but somehow it sounds strange to me
that if something operates on zip files, it wouldn't support compressed ones.
Closing due to lack of feedback in almost 5 months, please feel free to reopen
if you can help with the questions in comment 2.