Am 09.05.24 um 17:21 schrieb Nico Kadel-Garcia:
On Wed, May 8, 2024 at 4:36 PM Kenneth Goldman <kgoldman@xxxxxxxxxx> wrote:
Is it possible for a .spec file to clone a github.com repo rather than
download a tarball? Can someone link to a working example?
Git clones are bulky, with the entire history of a project rather than
merely the state of the repo at the moment of that tag or git commit.
The "Source:" line can point to a specific archibal tarball or zipfile
export of sourcecode at github.com, such as:
https://github.com/aws/aws-cli/archive/refs/tags/2.15.46.zip
IIRC, such archives are created on the fly and for some reason not
consistent. Some projects do provide additionally source packages for
there releases because of that ...
--
Leon
--
_______________________________________________
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