On Wednesday 2020-04-29 17:30, Martin Wilck wrote:
And it is also the reason using numbers in filenames for ordering reasons are frowned upon. The only true order is determined by the %patch statements (including those possibly implicitly generated by %autopatch).
It's the filename format used by "git format-patch", and ensures correct ordering of the generated patch files.
Indeed it is -- for git, and any "filesystem" tasks, which is to say, globbing. But that goes out the window the moment one adds PatchN: lines to a .spec file, unfortunate as it may be. Maybe you can open a feature request at the rpm bug tracker to the effect that, in the future, we could drop all the PatchN: lines and have them implicitly generated from a [0-9]*.patch wildcard. That would align nicely with %autopatch and decriminalize {renames for the sole purpose of reordering}. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org