On Tue, May 11, 2004, Aaron Bostick wrote:

> I use svn heavily and viewcvs supports subversion, so I would really
> like a viewcvs openpkg rpm.
>
> Viewcvs requires the subversion swig python bindings however.  What is
> the best approach for something like this?  Looking at the
> subversion.spec file, I would add an option like this:
>
> %option       with_python   no
> ...
> %if "%{with_python}" == "yes"
> PreReq:       python, swig
> %endif
>
> Would something like that work or is there a better way to make sure
> python and swig are installed before subversion is installed?

That's fine and the usual way we solve those situations.
Go for it.

> On a side note, when I first configured subversion to test this, it
> picked the wrong python library (I had a system python and an openpkg
> python installed).  After removing the system python, it grabs the
> correct openpkg path.  I didn't see a configure switch to tell it where
> to grab python libraries from...  Any ideas?

No, no clue from my side: As a Perl hacker I'm trying hard to not having
to know anything about Python ;-)

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to