It does (rpm -q --qf '%{EPOCH}\n' clamav). The only problem is that macro expansion is done too early in rpm to make it possible to use %{epoch} in the script.
So it doesn't work. Unless you have a solution to cure the above case (without explicite adding Epoch field).
Hmm... it seems that simply adding "%epoch 0" to the rpm macros file does the job -- making the whole rpm-epoch0.patch unnecessary. I wonder why this solution hasn't occured to me when I was writing the patch (must have been the winter time).
I'll give it some testing.
-- +----------------------------------------------------------------------+ | Paweł Sakowski <[EMAIL PROTECTED]> Never trust a man | | who can count up to 1023 on his fingers. | +----------------------------------------------------------------------+
_______________________________________________ pld-devel-en mailing list [EMAIL PROTECTED] http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
