[RPM Spec] Shall we use Local time or UTC for %changelog date?

Vít Ondruch vondruch at redhat.com
Fri Jul 22 12:34:45 UTC 2011


Dne 22.7.2011 14:31, Dmitry Butskoy napsal(a):
> Ding Yi Chen wrote:
>> Hi list,
>> I recently ran into an interesting problem related to time zone.
>>
>> I live in time zone GMT+10.
>> On 0:10, 18th July,
>> I wrote my changelog as:
>> * Mon Jul 18 2011 ......
>> ....
>>
>> And then run rpmlint, which give me:
>> <packageName>: E: changelog-time-in-future 2011-07-18
>>
>> So I am wondering which one I should use: local time or convert it to UTC?
> Certainly convert it to UTC.
>
> As at any other international things (post, airports) the time must be
> unique.
>
> Regards,
> Dmitry Butskoy
> http://www.fedoraproject.org/wiki/DmitryButskoy
>

Alternatively you can use rpmlint just after 10 AM and you will be safe ;)

Vit


More information about the devel mailing list