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

Peter Jones notifications at github.com
Mon Sep 30 15:35:47 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.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/874

-- Commit Summary --

  * Make "%patchlist -f patches" work.

-- File Changes --

    M build/parseList.c (84)
    M system.h (1)
    M tests/Makefile.am (1)
    A tests/data/SOURCES/patchlist (2)
    A tests/data/SPECS/hello-patchlist-f.spec (30)
    M tests/rpmbuild.at (18)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/874.patch
https://github.com/rpm-software-management/rpm/pull/874.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/874
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190930/2492098a/attachment.html>


More information about the Rpm-maint mailing list