diff 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
line wrap: on
line diff
--- a/contrib/mercurial.spec	Mon Oct 27 13:38:31 2008 -0400
+++ b/contrib/mercurial.spec	Mon Oct 06 14:41:22 2008 +0200
@@ -55,6 +55,9 @@
 mkdir -p $lisp_dir
 install contrib/mercurial.el $lisp_dir
 
+# We don't want this, do we?
+rm -f $RPM_BUILD_ROOT%{pythonlib}/../mercurial-*-py2.5.egg-info
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -69,7 +72,6 @@
 %{_datadir}/emacs/site-lisp/mercurial.el
 %{_bindir}/hg
 %{_bindir}/hgk
-%{_bindir}/hgmerge
 %{_bindir}/hg-ssh
 %{_bindir}/hg-viz
 %{_bindir}/git-rev-tree
@@ -80,3 +82,6 @@
 %{pythonlib}/*.so
 %{hgext}/*.py*
 %{hgext}/convert/*.py*
+%{hgext}/inotify/*.py*
+%{hgext}/highlight/*.py*
+%{hgext}/inotify/linux/