changeset 11062:a2a6fd1064df

contrib/mercurial.spec: Use DESTDIR variable and 'make install'
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 19 Apr 2010 11:31:19 +0200
parents 51d0387523c6
children eb23c876c111
files contrib/mercurial.spec
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/mercurial.spec	Thu Apr 01 00:35:12 2010 +0900
+++ b/contrib/mercurial.spec	Mon Apr 19 11:31:19 2010 +0200
@@ -38,8 +38,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-python setup.py install --root $RPM_BUILD_ROOT --prefix %{_prefix}
-make install-doc DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir}
+make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} MANDIR=%{_mandir}
 
 install contrib/hgk          $RPM_BUILD_ROOT%{_bindir}
 install contrib/convert-repo $RPM_BUILD_ROOT%{_bindir}/mercurial-convert-repo