fix contrib/mercurial.spec for hgext
authorXiaofeng Ling <xiaofeng.ling@intel.com>
Sun, 12 Mar 2006 15:07:40 +0100
changeset 1890 d4545f1b8bfa
parent 1889 468730910353
child 1891 e5c8e38b788f
fix contrib/mercurial.spec for hgext
contrib/mercurial.spec
--- 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*