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
_______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint