##// END OF EJS Templates
contrib/buildrpm: Support python 2.4 and 2.6
Mads Kiilerich -
r8867:ff817723 default
parent child Browse files
Show More
@@ -1,11 +1,13 b''
1 #!/bin/sh
1 #!/bin/sh
2 #
2 #
3 # Build a Mercurial RPM in place.
3 # Build a Mercurial RPM in place.
4 # Known to work on:
5 # - Fedora 9
6 # - Fedora 10
7 #
4 #
8 # Bryan O'Sullivan <bos@serpentine.com>
5 # Bryan O'Sullivan <bos@serpentine.com>
6 #
7 # Tested on
8 # - Fedora 10
9 # - Fedora 11
10 # - Centos 5.3 (with Fedora EPEL repo for asciidoc)
9
11
10 if hg --version > /dev/null 2>&1; then :
12 if hg --version > /dev/null 2>&1; then :
11 else
13 else
@@ -71,6 +71,8 b' rm -rf $RPM_BUILD_ROOT'
71 %{_bindir}/hg-viz
71 %{_bindir}/hg-viz
72 %{_bindir}/git-rev-tree
72 %{_bindir}/git-rev-tree
73 %{_bindir}/mercurial-convert-repo
73 %{_bindir}/mercurial-convert-repo
74 %{_libdir}/python%{pythonver}/site-packages/%{name}-*-py2.5.egg-info
74 %if "%{?pythonver}" != "2.4"
75 %{_libdir}/python%{pythonver}/site-packages/%{name}-*-py%{pythonver}.egg-info
76 %endif
75 %{pythonlib}
77 %{pythonlib}
76 %{hgext}
78 %{hgext}
General Comments 0
You need to be logged in to leave comments. Login now