On Sat, 2007-07-07 at 14:39 +0530, S h i v wrote:
> On 7/7/07, Laszlo (Laca) Peter <laca at sun.com> wrote:
> > Unfortunately there is no short option for --short-circuit.
> > This option mirrors rpmbuild's --short-circuit option, except that
> > rpmbuild doesn't allow to use it with -ba ('cause it's cheating ;)
> > but pkgbuild does ('cause it's convenient).
> >
> 
> Thanks. Makes sense to have :-)
> From the above inputs I presume  short-circuit is available only for
> pkgbuild and no equivalent available in pkgtool.

That's correct.  I don't think it belongs in pkgtool -- it's a higher
level tool and this is low level operation.

> Hmm...what happens to configurations in .pkgtoolrc? 

pkgbuild doesn't care about those and it need not either: for example
it doesn't download sources, doesn't leave a log file, doesn't copy
patches.  It assumes that this is all done (by pkgtool or manually).

> Is pkgbuildmacros
> recommended for the parameters that are of relevance to both pkgtool &
> pkgbuildmacros?

.pkgbuildmacros is for defining spec file macros (%foo type of stuff).
.pkgtoolrc defines settings for pkgtool, for example where to find
the tarballs or the patches.  The two sets are distinct.

> Can we provide multiple mirror sources in the .spec file (incase
> primary source is not available) of each of the softwares ?

Unfortunately, there is no provision for alternative source locations
in spec files (AFAIK, someone please correct me if there is).
Repositories of spec files, however, can define tarball mirror
sites that are common for all spec files, in .pkgtoolrc.
For example, if SFE had a tarball mirror at foo.bar.org/sfe-tarballs,
we could add this to SFE/.pkgtoolrc:

tarball_mirrors: http://foo.bar.org/sfe-tarballs

Right now there is no such tarball mirror for any of the projects
that use pkgbuild spec files.

> sf.net username : opensoars

Done.  You have write access.
See http://sourceforge.net/svn/?group_id=125443 for details about
using subversion on sourceforge.

Laca



Reply via email to