]> git.pld-linux.org Git - packages/libxml2.git/commitdiff
- install egg-info file for the python package
authorJacek Konieczny <jajcus@pld-linux.org>
Sun, 4 Apr 2010 19:44:45 +0000 (19:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libxml2.spec -> 1.178

libxml2.spec

index 77c993a35a70d833ebc01f2e9d646fd2e7913db3..287c2cae9d367f5bf3be24180250ae5f84fa9fd9 100644 (file)
@@ -10,7 +10,7 @@ Summary(pl.UTF-8):    Biblioteka libXML wersja 2
 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
@@ -172,6 +172,9 @@ mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/examples/* \
 %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
@@ -243,5 +246,6 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.052205 seconds and 4 git commands to generate.