comparison contrib/mercurial.spec @ 7277:3e000e2bf5f6

Make contrib/buildrpm work on Fedora 9. mercurial.spec had bitrotted. These changes makes it possible to build an rpm that is usable. Only minimal changes has been made, and there is plenty of room for improvement.
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 06 Oct 2008 14:41:22 +0200
parents cc7a43af709d
children 7073fcbfbc28 642754e776e2
comparison
equal deleted inserted replaced
7276:08dc0152bb5e 7277:3e000e2bf5f6
53 53
54 lisp_dir=$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp 54 lisp_dir=$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp
55 mkdir -p $lisp_dir 55 mkdir -p $lisp_dir
56 install contrib/mercurial.el $lisp_dir 56 install contrib/mercurial.el $lisp_dir
57 57
58 # We don't want this, do we?
59 rm -f $RPM_BUILD_ROOT%{pythonlib}/../mercurial-*-py2.5.egg-info
60
58 %clean 61 %clean
59 rm -rf $RPM_BUILD_ROOT 62 rm -rf $RPM_BUILD_ROOT
60 63
61 %files 64 %files
62 %defattr(-,root,root,-) 65 %defattr(-,root,root,-)
67 %{_sysconfdir}/bash_completion.d/mercurial.sh 70 %{_sysconfdir}/bash_completion.d/mercurial.sh
68 %{_datadir}/zsh/site-functions/_mercurial 71 %{_datadir}/zsh/site-functions/_mercurial
69 %{_datadir}/emacs/site-lisp/mercurial.el 72 %{_datadir}/emacs/site-lisp/mercurial.el
70 %{_bindir}/hg 73 %{_bindir}/hg
71 %{_bindir}/hgk 74 %{_bindir}/hgk
72 %{_bindir}/hgmerge
73 %{_bindir}/hg-ssh 75 %{_bindir}/hg-ssh
74 %{_bindir}/hg-viz 76 %{_bindir}/hg-viz
75 %{_bindir}/git-rev-tree 77 %{_bindir}/git-rev-tree
76 %{_bindir}/mercurial-convert-repo 78 %{_bindir}/mercurial-convert-repo
77 %{pythonlib}/templates 79 %{pythonlib}/templates
78 %{pythonlib}/*.py* 80 %{pythonlib}/*.py*
79 %{pythonlib}/hgweb/*.py* 81 %{pythonlib}/hgweb/*.py*
80 %{pythonlib}/*.so 82 %{pythonlib}/*.so
81 %{hgext}/*.py* 83 %{hgext}/*.py*
82 %{hgext}/convert/*.py* 84 %{hgext}/convert/*.py*
85 %{hgext}/inotify/*.py*
86 %{hgext}/highlight/*.py*
87 %{hgext}/inotify/linux/