# HG changeset patch # User Mads Kiilerich # Date 2010-04-19 09:31:19 # Node ID a2a6fd1064df7f23a0b40c17711326094139bc2c # Parent 51d0387523c62cc62f7896ad69ae8e639fd51abd contrib/mercurial.spec: Use DESTDIR variable and 'make install' diff --git a/contrib/mercurial.spec b/contrib/mercurial.spec --- a/contrib/mercurial.spec +++ b/contrib/mercurial.spec @@ -38,8 +38,7 @@ make all %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