RPM Community Forums

Mailing List Message of <rpm-devel>

Re: BuildRequires: vcheck(N)

From: Michael Jennings <mej@kainx.org>
Date: Mon 24 Dec 2007 - 21:19:49 CET
Message-ID: <20071224201949.GX1268@kainx.org>
On Sunday, 23 December 2007, at 12:56:40 (+0100),
Ralf S. Engelschall wrote:

>      (c) SourceX: <url>:<file>
>          This is a remote URL where the local <file> is different
>          from basename(<url>) (very important as this is usually
>          the case when downloading unversioned files, etc). RPM
>          checks for %{_sourcedir}/<file> on the local filesystem.
>          If it is not existing, it downloads remote <url> to local
>          %{_sourcedir}/<file>. If it cannot download it, it complains
>          with an error.
> 
>      (d) SourceX: <url>#<file>
>          This is a remote URL where the local <file> cannot be
>          downloaded via <url> automatically at all. This is usually
>          used in conjunction with a "NoSource: X" header and
>          indicates that <url> has to be visited _manually_, searched
>          for <file> manually, downloaded manually and then stored
>          under %{_sourcedir}/<file> manually. RPM checks for
>          %{_sourcedir}/<file> existance and if it doesn't exist is
>          complains with an error containing a hint that the user has to
>          visit <url>.

Except that : and # are valid URL characters and thus cannot be used
as delimiters.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <mej@kainx.org>
Linux Server/Cluster Admin, LBL.gov       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "A slipping gear could let your M203 grenade launcher fire when you
  least expect it.  That would make you quite unpopular in what's left
  of your unit."   -- In the August 1993 issue, page 9, of PS magazine
Received on Mon Dec 24 21:19:52 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.