On 05/08/2024 10:38 PM CEST Tom Hughes via devel
<devel(a)lists.fedoraproject.org> wrote:
On 08/05/2024 21:36, Kenneth Goldman 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?
No, but github can give you a tar ball for any ref you want so why
would you need/want to?
I have a case were upstream excludes the test suite from the export [1].
But I want the tests to be part of the package build to validate that everything is fine.
So this requires a bit of local git clone and create an own archive file.
I can't just grab the archive from the GitHub release in that case.
So that's a use-case were I could think of why git clone defined in a spec file would
be handy.
Dom
[1]