[Rpm-maint] [rpm-software-management/rpm] When using %autopatch, create backup files with .<num>~ suffix by def… (#109)

Panu Matilainen notifications at github.com
Wed Jan 18 13:08:48 UTC 2017


Oh, I know about the patches_num patch. I don't much like it, and thought ordinals aren't that helpful. Which is why there are no backups currently. I was kinda hoping you guys had come up with some nicer way to generate backups with patch numbers when I saw this ;)

Anyway, on a second thought - if you're stuck on a desert island with nothing but patch and gendiff, backups by ordinal are *worlds* better than nothing at all.

As for the implementation, I think it'd be better to pass the ordinal as-is to the backends who are free to do whatever they wish (including ignore) the additional information. Rather than force a specific patch-backup oriented format all the way at the top, that is. It also relies on quirks in the rpm macro system (referring to an option passed to a calling macro) and breaks at least the quilt backend (because of that).

-- 
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/109#issuecomment-273470825
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170118/ce47b553/attachment.html>


More information about the Rpm-maint mailing list