Re: Need help in fixing Rawtherapee

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

 



Hi, 

On Ter, 2016-10-11 at 13:03 -0500, Jason L Tibbitts III wrote:
> > 
> > > 
> > > > 
> > > > > 
> > > > > > 
> > > > > > "MV" == Mattia Verga <mattia@xxxxxxxxxxxxxxxxx> writes:
> MV> - I've upgraded the source to latest svn from Github. From
> packaging
> MV>   guidelines, when using github for downloading a specific
> commit,
> MV>   the source url should be:
> MV> Source0:
> MV> https://github.com/OWNER/%{name}/archive/%{commit0}.tar.gz#/%{nam
> e}-%{shortcommit0}.tar.gz
> MV> but such a link will download a source named
> MV> %{name}-%{commit0}.tar.gz (with full commit in the name instead
> of
> MV> shortcommit). Is there an error in guidelines, or am I missing
> MV> something?
> 
> It's not an error; it's just that there's no way to get the tarball
> name
> we want out of github.  The portion after '#/' just has to match
> whatever you name the tarball after you download it, so that rpmbuild
> can find it.
> 
> Still, nothing really cares what the tarball is named as long as it's
> there.  To be fair I don't know why there's such emphasis on having
> %name in the tarball name.  I'll try to remember to bring that up at
> a
> packaging committee meeting at some point.
> 
> Github does now provide an easier way for releases which were tagged,
> though; that change will be going into the guidelines soon.  (As soon
> as
> I can get around to it, that is.)

https://github.com/OWNER/%{name}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz ;

could be simplified to : 

https://github.com/OWNER/%{name}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz ;

if you update guidelines with it, I would be grateful.

Thanks, 
-- 
Sérgio M. B.
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux