<p>Since <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rpm-software-management/rpm/commit/b8a54d6a1e9bb6140b6b47e23dc707e4b967537e/hovercard" href="https://github.com/rpm-software-management/rpm/commit/b8a54d6a1e9bb6140b6b47e23dc707e4b967537e"><tt>b8a54d6</tt></a>, when <code>SOURCE_DATE_EPOCH</code> is set, <code>RPMTAG_BUILDTIME</code> winds up being set with that value. This is not always desirable, particularly if you are using the build time for filters and evaluation in certain types of package release pipelines.</p>
<p>This is an adaptation of the downstream patch in SUSE's rpm package written by <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=946612" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mlschroe">@mlschroe</a> intended to address <a href="https://bugzilla.suse.com/show_bug.cgi?id=1087065" rel="nofollow">SuseBug:1087065</a> (private bug <g-emoji class="g-emoji" alias="cry" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f622.png">😢</g-emoji>) that preserves the current behavior by default.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/rpm-software-management/rpm/pull/785'>https://github.com/rpm-software-management/rpm/pull/785</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Permit RPMTAG_BUILDTIME to not be set to SOURCE_DATE_EPOCH</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/785/files#diff-0">build/spec.c</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/785/files#diff-1">macros.in</a>
    (5)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/785.patch'>https://github.com/rpm-software-management/rpm/pull/785.patch</a></li>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/785.diff'>https://github.com/rpm-software-management/rpm/pull/785.diff</a></li>
</ul>

<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/785?email_source=notifications&email_token=ADLPZUYKHP3RST2B56TTE43P6GSQBA5CNFSM4H6VEA52YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5WHZHA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU2I4KXQC7CLESCSZ2DP6GSQBANCNFSM4H6VEA5Q">mute the thread</a>.<img src="https://github.com/notifications/beacon/ADLPZU4XZHFSJNH7PLGYB5LP6GSQBA5CNFSM4H6VEA52YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5WHZHA.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/785?email_source=notifications\u0026email_token=ADLPZUYKHP3RST2B56TTE43P6GSQBA5CNFSM4H6VEA52YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5WHZHA",
"url": "https://github.com/rpm-software-management/rpm/pull/785?email_source=notifications\u0026email_token=ADLPZUYKHP3RST2B56TTE43P6GSQBA5CNFSM4H6VEA52YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5WHZHA",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>