SPECS: clamav.spec - merged epoch 0 from RA-branch

Pawel Sakowski pawel at sakowski.eu.org
Thu Oct 21 11:52:20 CEST 2004


On Thu, 21 Oct 2004, Andrzej Krzysztofowicz wrote:
>> 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 <pawel at sakowski.eu.org>            Never trust a man  |
|                            who can count up to 1023 on his fingers.  |
+----------------------------------------------------------------------+


More information about the pld-devel-en mailing list