On Tue, 2017-08-08 at 08:00 +0200, Bernhard M. Wiedemann wrote:
> 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.
> ---
>  buildnum.pl | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/buildnum.pl b/buildnum.pl
> index 6d8804f..8db83da 100755
> --- a/buildnum.pl
> +++ b/buildnum.pl
> @@ -31,7 +31,7 @@ if ($opt_H) {exitHelp();}
>  $platdir = $opt_p;
>  
>  # Get current time
> -@now = gmtime;
> +@now = gmtime($ENV{SOURCE_DATE_EPOCH} || time);
>  
>  # Format buildnum as YYYY.DDD.HHMM
>  $year = $now[5] + 1900;
> -- 
> 2.12.3
> _______________________________________________
> 389-devel mailing list -- 389-devel@lists.fedoraproject.org
> To unsubscribe send an email to 389-devel-le...@lists.fedoraproject.org


Please see  https://pagure.io/389-ds-base/issue/49347

Where I have merged this commit. Thanks for your contribution!

-- 
Sincerely,

William Brown
Software Engineer
Red Hat, Australia/Brisbane

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
389-devel mailing list -- 389-devel@lists.fedoraproject.org
To unsubscribe send an email to 389-devel-le...@lists.fedoraproject.org

Reply via email to