Thanks for all help. I previously, befor starting to use OPenPKG, I got succesful rpm_build using just the .spec acompaining the developers source.
Today I didn't got so far to finish a build as I'm still mangling with the .spec file. As soon I got some progress I report it to you. Alex Cópia Michael Schloh von Bennewitz <[EMAIL PROTECTED]>: > On Thu, Dec 11, 2003, [EMAIL PROTECTED] wrote: > > So first, are all %{l_xxx} OpenPKG stuff ? And if so, where are they > > defined (by rpm perhaps?) ? > > > Yes, all that starts with 'l_' is native to OpenPKG. l_cppflags is a > local > OpenPKG Macro. You can find these in your /cw/etc/openpkg/rpmmacros > file. > > > I do not understand the syntax like > CXXFLAGS="${CXXFLAGS:-%optflags}" > > Does this consider some default ? How to change this for OpenPKG ? > > > I don't understand that syntax either, but the good news is that I > believe > you don't need it. Stick to either the build flags that I sent you, or > the > ones from Bill's package. Either set should work fine. > > How did it go with your Courier IMAP build (without OpenPKG)? Did you > succeed in building the latest Courier version already? Which build > flags > did you use? > > > And as I'm testing and probaly making lots off errors, How do I tell > rpm to just > > build the binary from .src.rpm with installing it ? > > > If you want to test your .spec file (and just build the sources), > then: > > $ rpm -bb courier.spec > > If you want to only make a source package (and not build anything), > then: > > $ rpm -bs courier.spec > > To make a binary package, you need to build the sources either with: > > $ rpm -bb courier.spec > > or > $ rpm --rebuild courier-version...src.rpm > > There will be no installation to your system until you explicitly ask > with: > > # rpm -Uvh courier-version...ix86.rpm > > -- > [EMAIL PROTECTED] > Development Team, Operations Northern Europe > Cable & Wireless Telecommunications Services GmbH > ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]