equal
deleted
inserted
replaced
5 License: GPL |
5 License: GPL |
6 Group: Development/Tools |
6 Group: Development/Tools |
7 Source: http://www.selenic.com/mercurial/release/%{name}-%{version}.tar.gz |
7 Source: http://www.selenic.com/mercurial/release/%{name}-%{version}.tar.gz |
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 |
|
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 |
10 |
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 |
14 |
25 |