[Fedora-packaging] github URLs?
Dave Johansen
davejohansen at gmail.com
Wed Jun 17 02:01:46 UTC 2015
On Tue, Jun 16, 2015 at 3:16 PM, Sérgio Basto <sergio at serjux.com> wrote:
> Hi,
>
> On Sex, 2015-05-15 at 21:50 -0700, Dave Johansen wrote:
> > On Sun, Apr 19, 2015 at 9:49 AM, Dave Johansen
> > <davejohansen at gmail.com> wrote:
> > On Sat, Apr 18, 2015 at 2:38 PM, Matthew Miller
> > <mattdm at fedoraproject.org> wrote:
> > On Sat, Apr 18, 2015 at 01:28:33PM -0700, Dave
> > Johansen wrote:
> > > What's the right way to handle github URLs?
> > Currently, I'm working on the
> > > spec file for breathe and the URL is
> >
> > There's actually a section in the guidelines precisely
> > on this:
> >
> >
> https://fedoraproject.org/wiki/Packaging:SourceURL?rd=Packaging/SourceURL#Github
> >
> >
> > I'm not all that familiar with the details of github, so do
> > the downloads available in the "releases" section count as "If
> > the upstream does create tarballs" or not? If it does, then I
> > still have the same question about the URL. If not, then I'll
> > just use the method described in the referenced section of the
> > wiki.
> >
> >
> >
> > For the sake of documentation, I ended up using the URL from
> > srcurl.net like Sergio pointed out.
>
> I found the solution in git-extras package .
>
> Name: git-extras
> Version: 2.2.0
> Source0:
>
> https://github.com/visionmedia/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
> >
> Also documented in
> https://fedoraproject.org/wiki/Packaging:SourceURL#Troublesome_URLs
>
I tried that with the .spec files that I had been running into this issue
with and it worked, so I will use this method instead of srcurl.net.
Thanks,
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/packaging/attachments/20150616/ed394441/attachment.html>
More information about the packaging
mailing list