On Fri, Dec 05, 2003, [EMAIL PROTECTED] wrote:
>I know that some pakages could be build with some extra ption that I beleave
>could be passed to the rpm --rebuild <package.src.rpm> --with-XXX=my_option.
>
>How can I find out what avaiable option a specific package has ?
>Is ther some rpm option that list them from .spec ?

Either of these will give you a list of options (the ``i'' in ``-qi''
provides info).

        rpm -qpi packagefilename
        rpm -qi packagename

>And if I build a package whith a desired option (--with-ldap) when OpenPKG
>release an update would the openpkg tool be smart enouth to rebuild the new
>package with the same option ?

Only if it's in your ~/.openpkg/build file where one can specify
everything needed by the ``openpkg'' program.

I wrote a little perl script recently that goes through all the installed
rpms, and generates the appropriate ``-D'' entries for the build file.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``If we got one-tenth of what was promised to us in these acceptance
speeches there wouldn't be any inducement to go to heaven.''
    Will Rogers
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to