Re: .spec file Source0 magic for github release source tarballs?

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

 



On 01/21/2014 06:01 PM, Kaleb KEITHLEY wrote:
> 
> Take, for example, https://github.com/nfs-ganesha/nfs-ganesha/releases, where there's a button for "Source code
> (tar.gz)" pointing at https://github.com/nfs-ganesha/nfs-ganesha/archive/V2.0.0.tar.gz
> 
> Note V2.0.0.tar.gz versus nfs-ganesha-2.0.0.tar.gz.
> 
> If I click on that link the downloaded file is named nfs-ganesha-2.0.0.tar.gz by virtue of the Content-Disposition http
> header.
> 
> Likewise if I use `curl -L ...` the downloaded file is named nfs-ganesha-2.0.0.tar.gz.
> 
> But for my nfs-ganesha.spec file, if I use the github link shown above, I have to load a file V2.0.0.tar.gz into the
> look-aside cache. Anything else and rpm and rpmlint whine.
> 
> Is there a best practice here that I'm missing?

https://fedoraproject.org/wiki/Packaging:SourceURL#Github

-- 
Miroslav Suchy, RHCE, RHCDS
Red Hat, Software Engineer, #brno, #devexp, #fedora-buildsys
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [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