I have stopped using the “forge” macros in most cases where I am packaging a release/tag,
since the URLs are simple enough without them, usually something like
URL:
https://github.com/foo/bar
Source0: %{url}/archive/v%{version}/bar-%{version}.tar.gz
However, when I need to package an untagged commit, the ability of the “forge” macros to
automatically construct and apply the snapshot information field, including picking up the
date from the primary source’s mtime, is *awesome*, even if it’s not that much harder to
do it by hand. It’s also nice to write “%forgeautosetup” instead of “%autosetup -n
bar-%{commit}”.
I guess I’m saying that I could easily live without these macros, but I do find them
occasionally useful in several small ways.
– Ben
On Thu, Feb 24, 2022, at 10:00 AM, PGNet Dev wrote:
>> especially since they don't really provide value for
>> standard GitHub tarball downloads etc. compared to the "old" SourceURL
>
> some of us strongly disagree. admittedly, with no weight ...
> _______________________________________________
> devel mailing list -- devel(a)lists.fedoraproject.org
> To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
> 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@lists.fedoraproject.org
> Do not reply to spam on the list, report it:
>
https://pagure.io/fedora-infrastructure