mercurial.spec: fix when default python prefix != rpm %{_prefix}
authorAdam Spiers <hg@adamspiers.org>
Sat, 02 Jun 2007 12:42:47 +0100
changeset 4750 87a35bb58b88
parent 4725 cf8b8f62688a
child 4751 2f2d8c5e7a5c
mercurial.spec: fix when default python prefix != rpm %{_prefix} e.g. on SUSE Linux Enterprise 10
contrib/mercurial.spec
--- 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