comparison contrib/mercurial.spec @ 24729:3e48462ec15a

rpms: for packages with their own python, put it in /opt/python-hg This is more compliant with the FHS and Fedora packaging guidelines.
author Mads Kiilerich <madski@unity3d.com>
date Tue, 14 Apr 2015 23:44:03 -0400
parents cd0c51c07e5f
children 7940c538db83
comparison
equal deleted inserted replaced
24728:75688a6f0bca 24729:3e48462ec15a
7 %global pythonver %{withpython} 7 %global pythonver %{withpython}
8 %global pythonname Python-%{withpython} 8 %global pythonname Python-%{withpython}
9 %global docutilsname docutils-0.12 9 %global docutilsname docutils-0.12
10 %global docutilsmd5 4622263b62c5c771c03502afa3157768 10 %global docutilsmd5 4622263b62c5c771c03502afa3157768
11 %global pythonhg python-hg 11 %global pythonhg python-hg
12 %global hgpyprefix /usr/%{pythonhg} 12 %global hgpyprefix /opt/%{pythonhg}
13 # byte compilation will fail on some some Python /test/ files 13 # byte compilation will fail on some some Python /test/ files
14 %global _python_bytecompile_errors_terminate_build 0 14 %global _python_bytecompile_errors_terminate_build 0
15 15
16 %else 16 %else
17 17