On Sat, Nov 01, 2008, David Stenglein wrote:

> Ralf S. Engelschall wrote:
>> On Fri, Oct 31, 2008, David Stenglein wrote:
>>
>>> [...]
>>> Is there some way we could automate the RPM and grab the sources on
>>> the fly like wrapper packages on some of the distributions do? I would
>>> be nice to make this process a lot cleaner. I know this could be
>>> difficult due to licensing/ click-through.
>>
>> Because of licensing constraints by Sun _WE_ are not allowed to
>> redistribute a complete .src.rpm which includes all files. But _YOU_ can
>> roll your own complete .src.rpm for personal automation purposes, of
>> course. Just unpack the .nosrc.rpm, download all missing files from Sun
>> and then roll the .src.rpm via "openpkg rpm -bs --norestriction *.spec"
>> and you will end up with a complete .src.rpm which works just fine in
>> full batch/automation processes.
>>
> I'm not talking about distributing the files, just getting them at
> install time. Instead of listing them as sources, have the spec do a
> wget or equivalent of the source for the current platform. This is what
> I mean by "wrapper". It is a very different approach to RPMs than is
> usually done, though.

With the forthcoming (still under testing) RPM 5 based OpenPKG 4 this
can be already done. There OpenPKG RPM can automatically download
missing "SourceX" files. For the current released OpenPKG RPM this is
only possible through the "openpkg dev" environment and very nasty to
setup.
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to