RPM changelog date weirdness

Bill Nottingham notting at redhat.com
Thu Sep 20 20:16:39 UTC 2007


Peter Jones (pjones at redhat.com) said: 
> Bill Nottingham wrote:
>> Michael Schwendt (mschwendt.tmp0701.nospam at arcor.de) said: 
>>> The changelog times are not stored as date strings in the binary RPM
>>> header, but most likely are preconverted to ordinary time() values by
>>> rpmbuild, assuming arbitrary values for the missing h:m:s (possibly
>>> 0:0:0).
>> They're stored as seconds-since-the-epoch - see CHANGELOGTIMES
>> in an rpm query.
>
> And more specifically, the date in the specfile is interpreted as noon on 
> that day, UTC.

... which means you *shouldn't* be able to get an off-by-one-date, barring
being located in the South Pacific and weirdness with leap seconds.

Bill




More information about the fedora-test-list mailing list