changeset 4750:87a35bb58b88

mercurial.spec: fix when default python prefix != rpm %{_prefix} e.g. on SUSE Linux Enterprise 10
author Adam Spiers <hg@adamspiers.org>
date Sat, 02 Jun 2007 12:42:47 +0100
parents cf8b8f62688a
children 2f2d8c5e7a5c
files contrib/mercurial.spec
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/mercurial.spec	Mon Jun 25 21:23:24 2007 -0500
+++ b/contrib/mercurial.spec	Sat Jun 02 12:42:47 2007 +0100
@@ -24,7 +24,7 @@
 python setup.py build
 
 %install
-python setup.py install --root $RPM_BUILD_ROOT
+python setup.py install --root $RPM_BUILD_ROOT --prefix %{_prefix}
 
 %clean
 rm -rf $RPM_BUILD_ROOT