rpm spec: include python egg in rpm
Better complicance with packaging guidelines
http://fedoraproject.org/wiki/Packaging/Python
http://fedoraproject.org/wiki/Packaging/Python/Eggs
--- a/contrib/mercurial.spec Thu Nov 27 01:09:11 2008 +0100
+++ b/contrib/mercurial.spec Thu Nov 27 01:10:27 2008 +0100
@@ -55,9 +55,6 @@
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
@@ -76,6 +73,7 @@
%{_bindir}/hg-viz
%{_bindir}/git-rev-tree
%{_bindir}/mercurial-convert-repo
+%{_libdir}/python%{pythonver}/site-packages/%{name}-*-py2.5.egg-info
%{pythonlib}/templates
%{pythonlib}/*.py*
%{pythonlib}/hgweb/*.py*