Re: Removing deprecated %patch syntax from go-sig's packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue Jan 9, 2024 at 17:30 +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.
>
> ---Maxwell
>
> [1] https://rpm-software-management.github.io/rpm/manual/spec.html#patch-1
> [2] https://github.com/rpm-software-management/rpm/commit/afd352481bacea521ce5ba01e989866478278532
> [3] https://git.sr.ht/~gotmax23/fedora-scripts/tree/main/item/new_patch_syntax.sh
> [4] https://git.sr.ht/~gotmax23/fedora-scripts/tree/main/item/go-sig/new_patch_syntax/packages

This has been completed. Have a good weekend!


-- 
Maxwell G (@gotmax23)
Pronouns: He/They
--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux