Robert Schiele wrote:
On Fri, Sep 22, 2006 at 09:21:05AM +0200, Andreas Jellinghaus wrote:
Hi,
at least in one suse spec file I saw as source an url to the web site with our source files.
I wonder: - is this only for looking for new versions? - If I keep the url in the package, will I still need to provide the downloaded file or will the build server do that for me? - is it better to replace it with the file name, and provide the downloaded and uploaded source .tar.gz?
as you can see, I'm a rpm newby, so help is very welcome.
This is only for informational purposes. You still have to provide the file itself as if you specified the name only.
Depends, my own build scripts can actually download the file (if it's
not locally cached yet) before triggering the build ;)
IMO a full URL is much better because you can directly see where the
file comes from, and it has no drawback as rpmbuild will just strip
out the URL part and keep the filename part to do its job.
But, as Robert wrote, it's just for informational purpose as rpmbuild
ignores the URL (and expects the file to be present in
/usr/src/packages/SOURCES/ anyway).
cheers
--
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\