<blockquote>
<p>Why do we need this code in two places now?</p>
</blockquote>
<p>The old one is still needed in case <code>SOUCE_DATE_EPOCH</code> is set by the caller of rpmbuild.<br>
The new one is now needed for the case where we use the last changelog date via <code>%source_date_epoch_from_changelog Y</code></p>
<p>The duplication is rather small, though.</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/pull/933?email_source=notifications&email_token=ADLPZU5LZFUTFTIPFRWKYXLQTEM3PA5CNFSM4JLKP7AKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDWDKEI#issuecomment-552350993">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU3APLYV4HWZFUVBVJLQTEM3PANCNFSM4JLKP7AA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZU76TQKEDSBXXRDLPR3QTEM3PA5CNFSM4JLKP7AKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDWDKEI.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/pull/933?email_source=notifications\u0026email_token=ADLPZU5LZFUTFTIPFRWKYXLQTEM3PA5CNFSM4JLKP7AKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDWDKEI#issuecomment-552350993",
"url": "https://github.com/rpm-software-management/rpm/pull/933?email_source=notifications\u0026email_token=ADLPZU5LZFUTFTIPFRWKYXLQTEM3PA5CNFSM4JLKP7AKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDWDKEI#issuecomment-552350993",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>