On Tue, Aug 13, 2002, Miles Egan wrote:

> I've been investigating openpkg for a few days now and overall I find it very
> interesting.  We have two requirements for a software pacakge system that
> aren't obviously met by the current openpkg:
>
> 1. we want to make sure that all packages in an openpkg instance are built by
> the same compiler and we want to be able to specify that compiler on a
> per-instance basis.

Not obvious, but possible (at least with OpenPKG-CURRENT and the
forthcoming 1.1): Use a ~/.rpmmacros (in the home of the user who builds
the packages) with "l_cc /path/to/your/cc" and perhaps "l_cflags -flags
-of -your -cc".

> 2. we want to be able to automatically rebuild an entire collection of rpms
> from their source rpms.

Also not obvious, but possible (at least with OpenPKG-CURRENT and the
forthcoming 1.1): Use the release engineering scripts you find under
http://www.openpkg.org/cvsweb/cvsweb.cgi/openpkg-re/. In particular what
you need us the src2make.pl script which is given the source RPMs. It
generates a Makefile which allows you to build the corresponding binary
RPMs.
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to