On Tue, May 21, 2019 at 11:32 AM Brian (bex) Exelbierd
<bexel...@redhat.com> wrote:
>
> On Tue, May 21, 2019 at 4:53 PM Nicolas Mailhot
> <nicolas.mail...@laposte.net> wrote:
> >
> > Le mardi 21 mai 2019 à 10:43 +0200, Brian (bex) Exelbierd a écrit :
> > > BUILDDATE=$(date +%Y-%m-%d)
> >
> > Please don't do that, that breaks build reproducibility.
>
> My understanding is that reproducible build systems typically provide
> a build date value.  Looking through
> https://docs.fedoraproject.org/en-US/packaging-guidelines/ I don't see
> one for Fedora.  Do you know what it is?
>

Set at the top of your spec:

%global source_date_epoch_from_changelog Y

Then use $SOURCE_DATE_EPOCH variable.



--
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
golang mailing list -- golang@lists.fedoraproject.org
To unsubscribe send an email to golang-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/golang@lists.fedoraproject.org

Reply via email to