SPECS: python-cherrypy.spec - workaround for software which requir...

arekm arekm at pld-linux.org
Tue Dec 20 21:13:30 CET 2005


Author: arekm                        Date: Tue Dec 20 20:13:30 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- workaround for software which requires this package in egg format

---- Files affected:
SPECS:
   python-cherrypy.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/python-cherrypy.spec
diff -u SPECS/python-cherrypy.spec:1.7 SPECS/python-cherrypy.spec:1.8
--- SPECS/python-cherrypy.spec:1.7	Tue Dec 20 01:05:36 2005
+++ SPECS/python-cherrypy.spec	Tue Dec 20 21:13:25 2005
@@ -69,6 +69,7 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install -d $RPM_BUILD_ROOT%{py_sitescriptdir}/CherryPy-%{version}-py%{py_ver}.egg-info
 
 python setup.py install \
 	--root=$RPM_BUILD_ROOT \
@@ -80,6 +81,13 @@
 
 cp -r cherrypy/tutorial $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
+echo 'Metadata-Version: 1.0
+Name: CherryPy
+Version: %{version}
+Summary: %{summary}
+Home-page: %{url}
+License: %{license}' > $RPM_BUILD_ROOT%{py_sitescriptdir}/CherryPy-%{version}-py%{py_ver}.egg-info/PKG-INFO
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -87,6 +95,7 @@
 %defattr(644,root,root,755)
 %doc CHANGELOG.txt CHERRYPYTEAM.txt README.txt
 %{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/CherryPy*
 
 %files examples
 %defattr(644,root,root,755)
@@ -98,6 +107,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2005/12/20 20:13:25  arekm
+- workaround for software which requires this package in egg format
+
 Revision 1.7  2005/12/20 00:05:36  arekm
 - fix autoreload for case where there is no py files
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-cherrypy.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list