Re: how to write Source directive for tinyerp

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

 



Michael Thomas píše v Čt 21. 12. 2006 v 11:45 -0800:
> Dan Horák wrote:
> > Hi,
> > 
> > I would like to update the spec file for tinyerp with current URLs to
> > get the sources. They use probably some "crazy" content management
> > system for their web so the URL looks like this:
> > 
> > http://tinyerp.com/component/option,com_vfm/Itemid,61/do,download/file,stable|source|tinyerp-server-%{version}.tar.gz/
> > 
> > When I try to do "wget" on this URL, it returns the requested file. But
> > RPM doesn´t understand it. It wants the part after the last slash to be
> > the filename. And in this case it is nothing. Is there a way to use such
> > URLs as Source in the spec files?
> 
> Just put the real filename in Source0: and include a short comment above 
> Source0: describing the problem and how to download the file:
> 
> # The / at the end of the URL confuses rpm.  Use wget on this url to get
> # the source:
> #http://tinyerp.com/component/option,com_vfm/Itemid,61/do,download/file,stable|source|tinyerp-server-%{version}.tar.gz/
> Source0: tinyerp-server-%{version}.tar.gz

That´s what I have just done :-)


		Dan


-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux