build: touch files when extracting rpm tarballs 35/28935/2
authorDave Wallace <dwallacelf@gmail.com>
Wed, 16 Sep 2020 21:04:24 +0000 (21:04 +0000)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 22 Sep 2020 11:33:28 +0000 (11:33 +0000)
commitef51f3696e0f13cf692f7d55e27f3bb81bb5aff9
tree8f7f2cac48c8844311bfe87869d34f84e2b53717
parent56eed87058b730fbc7c2976a1ae1ac5e76585d72
build: touch files when extracting rpm tarballs

Type: fix

- Long story short, intermittently centos jobs have been
  failing with clock skew issues. When someone commits a
  patch on a machine with the date ahead of UTC, then clock
  skew will be encountered when extracting the RPM source
  tarball. See [0] and [1] for details.

- Replace 'make bootstrap' with 'make install-dep' in
  RPM package build specfile.

[0] https://unix.stackexchange.com/questions/164807/does-git-archive-use-the-wrong-file-timestamp
[1] https://git.fd.io/vpp/tree/Makefile#n380

Change-Id: Iebfb9eb2e26c1f2e4488e871da86d0c60b9f4048
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
(cherry picked from commit 27b50fea143f2d45613ef982870cd2052e21fb0f)
extras/rpm/vpp.spec