changeset 7432:642754e776e2

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
author Mads Kiilerich <mads@kiilerich.com>
date Thu, 27 Nov 2008 01:10:27 +0100
parents 3d827cc616b6
children c4ce828e8074
files contrib/mercurial.spec
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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*