<p>This adds a -f argument to %patchlist, similar to that for %files.</p>
<p>There is no limit to how many patchlist files you specify, and doing so<br>
does not restrict the use of an inline patch list.  Patches get added<br>
from the leftmost list to rightmost, and any patches listed below get<br>
added after that.</p>
<p>I couldn't find other code that obviously just reads a list of lines<br>
from a file without assuming it's a .spec, so I've open coded this.  If<br>
there's a better way, I'm open to suggestions.</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/874'>https://github.com/rpm-software-management/rpm/pull/874</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Make "%patchlist -f patches" work.</li>
</ul>

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

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