On Tue, Mar 16, 2004 at 07:35:12PM -0800, David M. Fetter wrote:
> Do this:
> 
> 1. openpkg rpm -ivh apache*src.rpm
> 2. vi %prefix/RPM/SRC/apache/apache.spec
> 3. make appropriate configure changes/additions
> 4. openpkg rpm -ba %prefix/RPM/SRC/apache/apache.spec
> 5. openpkg rpm -ivh $prefix/RPM/PKG/apache*.rpm

Not with OpenPKG.

The OpenPKG spec files have conditional support for many additions
that are activated by defining a macro. E.g.

rpm --rebuild --define 'with_php yes' --define 'with_php_mysql yes' apache

will build the apache package with both options included.

-- 
                                Michael van Elst
Internet: [EMAIL PROTECTED]
                                "A potential Snark may lurk in every tree."
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to