packages: libxml2/libxml2.spec - install egg-info file for the python package

jajcus jajcus at pld-linux.org
Sun Apr 4 21:44:51 CEST 2010


Author: jajcus                       Date: Sun Apr  4 19:44:50 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- install egg-info file for the python package

---- Files affected:
packages/libxml2:
   libxml2.spec (1.177 -> 1.178) 

---- Diffs:

================================================================
Index: packages/libxml2/libxml2.spec
diff -u packages/libxml2/libxml2.spec:1.177 packages/libxml2/libxml2.spec:1.178
--- packages/libxml2/libxml2.spec:1.177	Wed Mar 17 20:11:21 2010
+++ packages/libxml2/libxml2.spec	Sun Apr  4 21:44:45 2010
@@ -11,7 +11,7 @@
 Summary(pt_BR.UTF-8):	Biblioteca libXML versão 2
 Name:		libxml2
 Version:	2.7.7
-Release:	1
+Release:	2
 Epoch:		1
 License:	MIT
 Group:		Libraries
@@ -173,6 +173,9 @@
 %if %{with python}
 mv -f $RPM_BUILD_ROOT%{_docdir}/%{name}-python-%{version}/examples/* \
 	$RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version}
+cd python
+./setup.py install_egg_info --install-dir=$RPM_BUILD_ROOT%{py_sitedir}
+cd ..
 %endif
 
 # move html doc to -devel package
@@ -244,6 +247,7 @@
 %attr(755,root,root) %{py_sitedir}/libxml2mod.so
 %{py_sitedir}/drv_libxml2.py[co]
 %{py_sitedir}/libxml2.py[co]
+%{py_sitedir}/libxml2_python-*.egg-info
 %{_examplesdir}/python-%{name}-%{version}
 %endif
 
@@ -253,6 +257,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.178  2010/04/04 19:44:45  jajcus
+- install egg-info file for the python package
+
 Revision 1.177  2010/03/17 19:11:21  arekm
 - up to 2.7.7
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libxml2/libxml2.spec?r1=1.177&r2=1.178&f=u



More information about the pld-cvs-commit mailing list