yum install subversion
Scripts like the above has no control of where software will be installed.
How can I specify the installation path like
--prefix when installing from source?
What are you trying to do? In general you can't alter where individual packages dump their files.
You can make yum install/update a different root directory by using