Mercurial > hg > mercurial-crew-with-dirclash
comparison contrib/mercurial.spec @ 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 | ab22af71386f |
children | e5c8e38b788f |
comparison
equal
deleted
inserted
replaced
1889:468730910353 | 1890:d4545f1b8bfa |
---|---|
8 URL: http://www.selenic.com/mercurial | 8 URL: http://www.selenic.com/mercurial |
9 BuildRoot: /tmp/build.%{name}-%{version}-%{release} | 9 BuildRoot: /tmp/build.%{name}-%{version}-%{release} |
10 | 10 |
11 %define pythonver %(python -c 'import sys;print ".".join(map(str, sys.version_info[:2]))') | 11 %define pythonver %(python -c 'import sys;print ".".join(map(str, sys.version_info[:2]))') |
12 %define pythonlib %{_libdir}/python%{pythonver}/site-packages/%{name} | 12 %define pythonlib %{_libdir}/python%{pythonver}/site-packages/%{name} |
13 %define hgext %{_libdir}/python%{pythonver}/site-packages/hgext | |
13 | 14 |
14 %description | 15 %description |
15 Mercurial is a fast, lightweight source control management system designed | 16 Mercurial is a fast, lightweight source control management system designed |
16 for efficient handling of very large distributed projects. | 17 for efficient handling of very large distributed projects. |
17 | 18 |
30 | 31 |
31 %files | 32 %files |
32 %defattr(-,root,root,-) | 33 %defattr(-,root,root,-) |
33 %doc doc/* contrib/patchbomb *.cgi | 34 %doc doc/* contrib/patchbomb *.cgi |
34 %dir %{pythonlib} | 35 %dir %{pythonlib} |
36 %dir %{hgext} | |
35 %{_bindir}/hgmerge | 37 %{_bindir}/hgmerge |
36 %{_bindir}/hg | 38 %{_bindir}/hg |
37 %{pythonlib}/templates | 39 %{pythonlib}/templates |
38 %{pythonlib}/*.py* | 40 %{pythonlib}/*.py* |
39 %{pythonlib}/*.so | 41 %{pythonlib}/*.so |
42 %{hgext}/*.py* |