[Fedora-packaging] github URLs?
Remi Collet
Fedora at FamilleCollet.com
Tue Jun 23 15:11:50 UTC 2015
Le 18/04/2015 22:28, Dave Johansen a écrit :
> What's the right way to handle github URLs? Currently,
I think Guidelines are clear.
https://fedoraproject.org/wiki/Packaging:SourceURL?rd=Packaging/SourceURL#Github
"For a number of reasons (immutability, availability,
uniqueness), you must use the full commit revision hash
when referring to the sources."
> I'm working on the
> spec file for breathe and the URL is
> https://github.com/michaeljones/breathe/archive/v4.0.0.tar.gz and the
AFAIK, this is NOT immutable (upstream can delete/update tag) so not valid.
> actual file that's downloaded is breathe-4.0.0.tar.gz. How do I make that
> play nice in the spec file and with rpmlint?
Ex:
https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz
Remi.
> Thanks,
> Dave
>
So
>
>
> --
> packaging mailing list
> packaging at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/packaging
>
More information about the packaging
mailing list