SPECS: python-json-py.spec - add workaround for egg requiring soft...

arekm arekm at pld-linux.org
Tue Dec 20 21:07:51 CET 2005


Author: arekm                        Date: Tue Dec 20 20:07:51 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add workaround for egg requiring software

---- Files affected:
SPECS:
   python-json-py.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/python-json-py.spec
diff -u SPECS/python-json-py.spec:1.1 SPECS/python-json-py.spec:1.2
--- SPECS/python-json-py.spec:1.1	Tue Dec 20 20:30:15 2005
+++ SPECS/python-json-py.spec	Tue Dec 20 21:07:46 2005
@@ -29,6 +29,7 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
+install -d $RPM_BUILD_ROOT%{py_sitescriptdir}/json_py-%{version}-py%{py_ver}.egg-info
 
 install *.py $RPM_BUILD_ROOT%{py_sitescriptdir}
 
@@ -36,12 +37,20 @@
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_postclean
 
+echo 'Metadata-Version: 1.0
+Name: %{module}
+Version: %{version}
+Summary: %{summary}
+Home-page: %{url}
+License: %{license}' > $RPM_BUILD_ROOT%{py_sitescriptdir}/json_py-%{version}-py%{py_ver}.egg-info/PKG-INFO
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %{py_sitescriptdir}/*.py[co]
+%{py_sitescriptdir}/json_py*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -49,6 +58,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/12/20 20:07:46  arekm
+- add workaround for egg requiring software
+
 Revision 1.1  2005/12/20 19:30:15  arekm
 - new
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-json-py.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list