building rpm from python with --prefix is not acting as expected #355

Closed
cturra opened this Issue Feb 6, 2013 · 1 comment

2 participants

@cturra

when building an rpm from a python source (-s) the --prefix doesn't appear to be functioning as expected. as discussed, the ideal outcome would be to have --prefix define the full path were the python lib and data should found. in our case, we wanted to install to /usr/local/lib64/python2.6/site-packages instead of the default /usr/lib64/python2.6/site-packages.

using --edit to look at the rpm spec file, it appears as though the %files are not honoring the prefix.

@r4um
Collaborator

Can you try with the --python-install-{bin,data,lib} options. I don't see a problem with the --prefix as such.

@r4um r4um closed this Jul 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment