Le 26/04/2012 11:20, Colin Guthrie a écrit :
'Twas brillig, and Thomas Backlund at 26/04/12 10:06 did gyre and gimble:
Thierry Vignaud skrev 26.4.2012 11:46:
At install time, w/o proper requires/... you can't garanty that
rpm and thus the packages it requires may be installed after
the packages needing it for their %post scripts
=> ERROR
At upgrade time, w/o proper versionaed requiresn you can't
garanty that rpm and thus the packages it requires wil be
updated before the packages needing it for their %post scripts
=> ERROR
So all of theese packages need to be checked and possibly add:
Requires: rpm-helper>= 0.24.8-1
I think it should be Requires(post) and Requires(preun) if possible
(tho' someone with more rpm-foo can comment about that in particular).
You bascially cannot uninstall rpm-helper, so it's maybe not needed in
this case?
Not sure if that's something we can do with an automatic script
(find-requires), but it would certainly be nicer than adding it manually
all the time and they can just be bumped and rebuilt.
We can, that's a task for a spec-helper scriptlet.
--
BOFH excuse #432:
Borg nanites have infested the server