Overview
Request 708993 accepted
Add reproducible.patch to override build date to make package build reproducible (boo#1047218)
- Created by bmwiedemann
- In state accepted
Loading...
Request History
bmwiedemann created request
Add reproducible.patch to override build date to make package build reproducible (boo#1047218)
seife accepted request
Thanks Bernhard, your work wrt reproducible builds is appreciated!
I’m not sure but this is probably something worth pushing upstream instead
The patch can't be applied unconditionally for upstream, I guess, though. It's needed (and works) only for the build environment that sets SOURCE_DATE_EPOCH variable.
That is, we can take this patch as a stop gap for now, while asking upstream about a better solution.
If SOURCE_DATE_EPOCH is not set, it will fall back to the old behaviour via "time.time".
I just could not find the right place/way to upstream and therefore would leave it to those more involved with this software. Please upstream.
And seeing the huge benefit that Bernhard's work has for the overall openSUSE Tumbleweed experience, let's just accept the patch for now and care about upstreaming later ;-)