Skip to content


Subversion checkout URL

You can clone with
Download ZIP


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

cturra opened this Issue · 1 comment

2 participants


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.


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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.