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?

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?

Thanks,
Aaron

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

Reply via email to