##// END OF EJS Templates
mercurial.spec: add BuildRequires...
julian@lava.net -
r4751:2f2d8c5e default
parent child Browse files
Show More
@@ -8,6 +8,17 b' Source: http://www.selenic.com/mercurial'
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 # From the README:
12 #
13 # Note: some distributions fails to include bits of distutils by
14 # default, you'll need python-dev to install. You'll also need a C
15 # compiler and a 3-way merge tool like merge, tkdiff, or kdiff3.
16 #
17 # python-devel provides an adequate python-dev. The merge tool is a
18 # run-time dependency.
19 #
20 BuildRequires: python >= 2.3, python-devel, make, gcc
21
11 %define pythonver %(python -c 'import sys;print ".".join(map(str, sys.version_info[:2]))')
22 %define pythonver %(python -c 'import sys;print ".".join(map(str, sys.version_info[:2]))')
12 %define pythonlib %{_libdir}/python%{pythonver}/site-packages/%{name}
23 %define pythonlib %{_libdir}/python%{pythonver}/site-packages/%{name}
13 %define hgext %{_libdir}/python%{pythonver}/site-packages/hgext
24 %define hgext %{_libdir}/python%{pythonver}/site-packages/hgext
General Comments 0
You need to be logged in to leave comments. Login now