##// END OF EJS Templates
fix contrib/mercurial.spec for hgext
Xiaofeng Ling -
r1890:d4545f1b default
parent child Browse files
Show More
@@ -10,6 +10,7 b' BuildRoot: /tmp/build.%{name}-%{version}'
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
@@ -32,8 +33,10 b' rm -rf $RPM_BUILD_ROOT'
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*
General Comments 0
You need to be logged in to leave comments. Login now