<p>This is based on <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="500357059" data-permission-text="Issue title is private" data-url="https://github.com/rpm-software-management/rpm/issues/874" data-hovercard-type="pull_request" data-hovercard-url="/rpm-software-management/rpm/pull/874/hovercard" href="https://github.com/rpm-software-management/rpm/pull/874">#874</a> but uses readManifest() instead of separate code for reading the files.</p>
<p>The first patch adds support for STRIP_TRAILINGSPACE for readManifest() which was missing previously (although widely "used").</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/1043'>https://github.com/rpm-software-management/rpm/pull/1043</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Make "%patchlist -f patches" work.</li>
  <li>Support STRIP_TRAILINGSPACE in readManifest</li>
  <li>Use readManifest for reading %patchlist -f files</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/1043/files#diff-0">build/files.c</a>
    (7)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/1043/files#diff-1">build/parseList.c</a>
    (91)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/1043/files#diff-2">macros.in</a>
    (10)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/1043/files#diff-3">system.h</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/1043/files#diff-4">tests/Makefile.am</a>
    (2)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/1043/files#diff-5">tests/data/SOURCES/patchlist</a>
    (2)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/1043/files#diff-6">tests/data/SPECS/hello-patchlist-f.spec</a>
    (30)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/1043/files#diff-7">tests/rpmbuild.at</a>
    (18)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/1043.patch'>https://github.com/rpm-software-management/rpm/pull/1043.patch</a></li>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/1043.diff'>https://github.com/rpm-software-management/rpm/pull/1043.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/1043?email_source=notifications&email_token=ADLPZU7USFFAOB5O5QPAPGLRBA3W7A5CNFSM4KPHM3AKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IKUGL4Q">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU4MEWCBN767NWFCGUTRBA3W7ANCNFSM4KPHM3AA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZU5U6PAC7XTOKZKZSPLRBA3W7A5CNFSM4KPHM3AKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IKUGL4Q.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/1043?email_source=notifications\u0026email_token=ADLPZU7USFFAOB5O5QPAPGLRBA3W7A5CNFSM4KPHM3AKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IKUGL4Q",
"url": "https://github.com/rpm-software-management/rpm/pull/1043?email_source=notifications\u0026email_token=ADLPZU7USFFAOB5O5QPAPGLRBA3W7A5CNFSM4KPHM3AKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IKUGL4Q",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>