[Rpm-maint] [rpm-software-management/rpm] [RFE] Add limits to autopatch macro (#626)
Petr Menšík
notifications at github.com
Tue Feb 19 15:13:20 UTC 2019
Unfortunately I found out it is not useable as it is. My use case worked on small test example. I did expect however numbers of patches in lua corresponds to numbers used in spec files. I recently found they are unrelated. I think it would require modification of packages table in lua, so used numbers of patch are connected to patch numbers. It seems they are sorted by filename first, which defeats my intention to simply filter some unwanted patches out.
Adjust parameter names however you wish, their names are not important. Until transition of patch numbers are recognized by ipairs(patches). I wanted to use it for [bind](https://src.fedoraproject.org/fork/pemensik/rpms/bind/blob/autopatch-range/f/bind.spec), but rpmspec -P shows my patches are applied in completely wrong order.
Do you know how difficult would it be to link patch names back to original number?
--
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/626#issuecomment-465168917
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190219/95c72235/attachment.html>
More information about the Rpm-maint
mailing list