[CentOS] rpmbuild date shift

Wed May 13 11:12:18 UTC 2009
Ralph Angenendt <ra+centos at br-online.de>

David Hrbáč wrote:
> Hi,
> I'd like to ask if anyone's experiencing date shift with rpmbuild/mock
> on C5. I see +1 day date shift within changelog. Checked with
> mock-0.9.14-3.el5.hrb and mock-0.6.13-1.el5_2.3.

Yes, I'm seeing that too:

[angenenr at shutdown rpms]$rpm -qp --changelog drbd82-8.2.7.git_20090512-1.el4.br.src.rpm |head -8
* Thu May 14 2009 Ralph Angenendt <ralph at centos.org>
- move version to current 8.2 git version as 8.2.7 release has an 
  error in online verification. See
  http://lists.linbit.com/pipermail/drbd-user/2009-May/012019.html
  for an explanation.

* Tue May 05 2009 Ralph Angenendt <ralph at centos.org> drbd82-8.2.7-1
- upgraded to upstream version 8.2.7
[angenenr at shutdown rpms]$

Original has May 13th and May 4th in the changelog.

[angenenr at shutdown result]$mock -r centos-4-i386 shell
init
mock-chroot> date
Wed May 13 07:10:06 EDT 2009
mock-chroot>

Even if that is changed to UTC, it still is May 13th (and it doesn't explain
why subsequent changelog entries are one day off, too.

Ralph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20090513/780a27eb/attachment-0004.sig>