On Tue, May 21, 2019 at 11:32 AM Brian (bex) Exelbierd
<bexelbie(a)redhat.com> wrote:
On Tue, May 21, 2019 at 4:53 PM Nicolas Mailhot
<nicolas.mailhot(a)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!