<p>This is a regression over 4.14.2<br>
and not from <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="464928334" data-permission-text="Issue title is private" data-url="https://github.com/rpm-software-management/rpm/issues/785" data-hovercard-type="pull_request" data-hovercard-url="/rpm-software-management/rpm/pull/785/hovercard" href="https://github.com/rpm-software-management/rpm/pull/785">#785</a></p>
<p>I do set</p>
<pre><code>%_buildhost reproducible
%source_date_epoch_from_changelog Y
%clamp_mtime_to_source_date_epoch Y
%use_source_date_epoch_as_buildtime Y
</code></pre>
<p>and I can see with <code>rpm -qpvl</code> that the file mtimes are correctly adjusted, but the Build Date header gets the current time with 4.15, where it got the changelog date with 4.14.2</p>
<p>I think commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rpm-software-management/rpm/commit/fa303d5ba6bef5b4a44b884c6dadadc27b594caa/hovercard" href="https://github.com/rpm-software-management/rpm/commit/fa303d5ba6bef5b4a44b884c6dadadc27b594caa"><tt>fa303d5</tt></a> broke setting <code>RPMTAG_BUILDTIME</code> from <code>SOURCE_DATE_EPOCH</code> when that is only parsed from the first changelog entry later.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/issues/932?email_source=notifications&email_token=ADLPZU7JZ737MFAXDRU4AW3QSVU6HA5CNFSM4JKXPA32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HX66JAQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU5SQOY2WMWEBY3EGS3QSVU6HANCNFSM4JKXPA3Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZU7EILPJNQ3SXUFD2ITQSVU6HA5CNFSM4JKXPA32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HX66JAQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/issues/932?email_source=notifications\u0026email_token=ADLPZU7JZ737MFAXDRU4AW3QSVU6HA5CNFSM4JKXPA32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HX66JAQ",
"url": "https://github.com/rpm-software-management/rpm/issues/932?email_source=notifications\u0026email_token=ADLPZU7JZ737MFAXDRU4AW3QSVU6HA5CNFSM4JKXPA32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HX66JAQ",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>