From patchwork Wed Apr 15 03:51:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1, of, 2, rhel5] rpms: for packages with their own python, put it in /opt/python-hg From: Mads Kiilerich X-Patchwork-Id: 8673 Message-Id: <3a8c21bb8069ebb217a3.1429069907@localhost.localdomain> To: mercurial-devel@selenic.com Date: Tue, 14 Apr 2015 23:51:47 -0400 # HG changeset patch # User Mads Kiilerich # Date 1429069443 14400 # Tue Apr 14 23:44:03 2015 -0400 # Node ID 3a8c21bb8069ebb217a3e324d68b6a4a56eeb978 # Parent 52ff737c63d2b2cb41185549aa9c35bc47317032 rpms: for packages with their own python, put it in /opt/python-hg This is more compliant with the FHS and Fedora packaging guidelines. diff --git a/contrib/mercurial.spec b/contrib/mercurial.spec --- a/contrib/mercurial.spec +++ b/contrib/mercurial.spec @@ -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