[Rpm-maint] [rpm-software-management/rpm] Make "%patchlist -f patches" work. (#866)

Peter Jones notifications at github.com
Wed Sep 25 20:17:40 UTC 2019

This adds a -f argument to %patchlist, similar to that for %files.
There is no limit to how many patchlist files you specify, and doing so
does not restrict the use of an inline patch list.  Patches get added
from the leftmost list to rightmost, and any patches listed below get
added after that.

I couldn't find other code that obviously just reads a list of lines
from a file without assuming it's a .spec, so I've open coded this.  If
there's a better way, I'm open to suggestions.

Signed-off-by: Peter Jones <pjones at redhat.com>
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Make "%patchlist -f patches" work.

-- File Changes --

    M build/parseList.c (39)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190925/c21bab20/attachment.html>

More information about the Rpm-maint mailing list