[Rpm-maint] [rpm-software-management/rpm] Turn %prep into a normal build script (Issue #2205)
Frank Dana
notifications at github.com
Mon Oct 31 01:12:22 UTC 2022
Doesn't help that [the only example](https://docs.fedoraproject.org/en-US/packaging-guidelines/#_architecture_support) (end of that section) of `%patch` usage that I can find in the Fedora Packaging Guidelines still uses `%patch0`. Seems this memo really hasn't been distributed widely enough. (News to me, as well.)
Guidelines examples can be corrected easily enough, of course, if the updated syntax is universally preferred/correct. How long has e.g. `%patch 0` worked in RPM, relative to how long `%patch0` has been legal? Is there any extreme legacy use case or whatever reason that doing the equivalent of `s/%patch([0-9]+)/%patch $1/` across the board would be a bad idea? (I'm assuming `%patch0 -p1`, like in that FPG example, is canonically supposed to be `%patch 0 -p1`?)
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2205#issuecomment-1296420210
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2205/1296420210 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20221030/b5781a44/attachment.html>
More information about the Rpm-maint
mailing list