packages: libxml2/libxml2.spec - fix py for ac

glen glen at pld-linux.org
Mon Aug 30 20:04:51 CEST 2010


Author: glen                         Date: Mon Aug 30 18:04:51 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix py for ac

---- Files affected:
packages/libxml2:
   libxml2.spec (1.181 -> 1.182) 

---- Diffs:

================================================================
Index: packages/libxml2/libxml2.spec
diff -u packages/libxml2/libxml2.spec:1.181 packages/libxml2/libxml2.spec:1.182
--- packages/libxml2/libxml2.spec:1.181	Thu Jul  8 12:43:09 2010
+++ packages/libxml2/libxml2.spec	Mon Aug 30 20:04:43 2010
@@ -172,13 +172,17 @@
 	$RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version}
 mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/examples/* \
 	$RPM_BUILD_ROOT%{_examplesdir}/%{name}-devel-%{version}
+
 %if %{with python}
 mv -f $RPM_BUILD_ROOT%{_docdir}/%{name}-python-%{version}/examples/* \
 	$RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version}
+
+%if "%{py_ver}" > "2.4"
 cd python
 ./setup.py install_egg_info --install-dir=$RPM_BUILD_ROOT%{py_sitedir}
 cd ..
 %endif
+%endif
 
 # move html doc to -devel package
 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version}
@@ -251,7 +255,9 @@
 %attr(755,root,root) %{py_sitedir}/libxml2mod.so
 %{py_sitedir}/drv_libxml2.py[co]
 %{py_sitedir}/libxml2.py[co]
+%if "%{py_ver}" > "2.4"
 %{py_sitedir}/libxml2_python-*.egg-info
+%endif
 %{_examplesdir}/python-%{name}-%{version}
 %endif
 
@@ -261,6 +267,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.182  2010/08/30 18:04:43  glen
+- fix py for ac
+
 Revision 1.181  2010/07/08 10:43:09  arekm
 - release 3
 
================================================================

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



More information about the pld-cvs-commit mailing list