PerryWerneck / pw3270

3270 Emulator for gtk
https://softwarepublico.gov.br/social/pw3270/
GNU Lesser General Public License v3.0
58 stars 12 forks source link

Allow to override build date with SOURCE_DATE_EPOCH #50

Closed bmwiedemann closed 1 year ago

bmwiedemann commented 1 year ago

Allow to override build date with SOURCE_DATE_EPOCH in order to make builds reproducible. See https://reproducible-builds.org/ for why this is good and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable.

This date call works with different implementations of date.

Also use -u (UTC) to be independent of timezone.

This patch was done while working on reproducible builds for openSUSE.