Commit fa303d5ba6bef5b4a44b884c6dadadc27b594caa moved buildhost and
buildtime calculation out of the package generation to early spec
initialization, but this broke reproducable builds: if buildtime is
to be set from changelog, changelog needs to be parsed first.

So either we need to do it twice or we need to do it right, and
besides avoiding duplication, conceptually these values are only
meaningful during a build and not a parse, so this restores that part
of the original code while keeping things thread-safe.

Fixes: #932
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/935

-- Commit Summary --

  * Only calculate buildhost and buildtime during an actual build

-- File Changes --

    M build/build.c (49)
    M build/spec.c (50)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/935.patch
https://github.com/rpm-software-management/rpm/pull/935.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/935
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to