Re: Looking for %{forgemeta} GitHub example

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

 



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@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 on the list, report it: 
> https://pagure.io/fedora-infrastructure
_______________________________________________
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 on the list, report it: https://pagure.io/fedora-infrastructure




[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