On 24-05-2023 09:56, Vitaly Zaitsev via devel wrote:
On 23/05/2023 19:27, Richard W.M. Jones wrote:
... so today I was taking part in a package review which uses these macros and was surprised to be told that they are deprecated.
Their author left Fedora a few years ago. They're now unmaintained and may be removed soon (see FPC ticket[1]).
I don't infer a removal request from the ticket's title: "SourceURL: document that the forge macros are deprecated / unmaintained".
Yes, it should be mentioned that they are currently unmaintained. I, for one, am a happy user of the forge macros and would like to keep using them. I probably started using them seeing examples, that did not have a deprecation warning.
As mentioned in the ticket above and the PR [1] linked, separating the forge macros from redhat-rpm-config, may be the way forward. @gotmax23 already provided a PoC. I'd be willing to help out making this happen. That said, my knowledge of RPM macros is limited.
[1] https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/248
-- Sandro