changeset 1890:d4545f1b8bfa

fix contrib/mercurial.spec for hgext
author Xiaofeng Ling <xiaofeng.ling@intel.com>
date Sun, 12 Mar 2006 15:07:40 +0100
parents 468730910353
children e5c8e38b788f
files contrib/mercurial.spec
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/mercurial.spec	Sun Mar 12 13:57:55 2006 +0100
+++ b/contrib/mercurial.spec	Sun Mar 12 15:07:40 2006 +0100
@@ -10,6 +10,7 @@
 
 %define pythonver %(python -c 'import sys;print ".".join(map(str, sys.version_info[:2]))')
 %define pythonlib %{_libdir}/python%{pythonver}/site-packages/%{name}
+%define hgext %{_libdir}/python%{pythonver}/site-packages/hgext
 
 %description
 Mercurial is a fast, lightweight source control management system designed
@@ -32,8 +33,10 @@
 %defattr(-,root,root,-)
 %doc doc/* contrib/patchbomb *.cgi
 %dir %{pythonlib}
+%dir %{hgext}
 %{_bindir}/hgmerge
 %{_bindir}/hg
 %{pythonlib}/templates
 %{pythonlib}/*.py*
 %{pythonlib}/*.so
+%{hgext}/*.py*