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

Toshio Kuratomi a.badger at gmail.com
Fri Jul 22 19:33:34 UTC 2011


On Fri, Jul 22, 2011 at 03:27:58PM +0200, David Tardon wrote:
> On Fri, Jul 22, 2011 at 02:34:45PM +0200, Vít Ondruch wrote:
> > 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 ;)
> 
> Alternatively you can just ignore the warning. That is what I would do.
> 
yep, if it's just that the date you've used is different according to
timezone.  (Of course, be careful that you didn't just flub the date :-)

The rpm changelog can reasonably be in any timezone.  It's primarily for
people to check on their machines by running rpm -q[p] --changelog (which
could be days later because the update has to be built in koji and then
pushed to the repos.

Its also used when you or another maintainer has to see what was done to
a package in the past... which is usually (not always but in the majority of
cases) also days later.

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20110722/3c4cb0ce/attachment.bin 


More information about the devel mailing list