Re: Spec file using github repo - not tarball

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

 



> On 05/08/2024 10:38 PM CEST Tom Hughes via devel <devel@xxxxxxxxxxxxxxxxxxxxxxx> 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] https://github.com/guzzle/guzzle/blob/7.8/.gitattributes


--
The Wombelix Post
https://dominik.wombacher.cc
--
_______________________________________________
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




[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