rpms: for packages with their own python, put it in /opt/python-hg
authorMads Kiilerich <madski@unity3d.com>
Tue, 14 Apr 2015 23:44:03 -0400
changeset 24729 3e48462ec15a
parent 24728 75688a6f0bca
child 24730 aa8e5c6d953b
rpms: for packages with their own python, put it in /opt/python-hg This is more compliant with the FHS and Fedora packaging guidelines.
contrib/mercurial.spec
--- a/contrib/mercurial.spec	Wed Jan 14 01:15:26 2015 +0100
+++ b/contrib/mercurial.spec	Tue Apr 14 23:44:03 2015 -0400
@@ -9,7 +9,7 @@
 %global docutilsname docutils-0.12
 %global docutilsmd5 4622263b62c5c771c03502afa3157768
 %global pythonhg python-hg
-%global hgpyprefix /usr/%{pythonhg}
+%global hgpyprefix /opt/%{pythonhg}
 # byte compilation will fail on some some Python /test/ files
 %global _python_bytecompile_errors_terminate_build 0