On Tue, Jan 09, 2024 at 05:30:51PM +0000, Maxwell G wrote:
Hi everyone,
RPM has deprecated the `%patchN` syntax in favor of `%patch -PN` where `N` is the patch number. See the RPM documentation for more information [1]. In current RPM versions, this syntax only emits a deprecation warning, but support for this syntax has been removed completely on the rpm master branch [2]. Around 100 packages maintained by the go-sig still use this syntax.
Later this week/early next week, I will run this script [3] over the affected go-sig packages [4] to update them to the modern patch syntax. For example, the script will change:
%patch0 -p1 -> %patch -P0 -p1 %patch0005 -p2 -> %patch -P0005 -p2
If anyone has any objections or would like to exclude a package, please let me know.
Thanks for doing this... I assume you plan to get it all done before the mass rebuild starts? (2024-01-17)
kevin