rpms/PyXML/devel PyXML.spec,1.44,1.45

Roman Rakus rrakus at fedoraproject.org
Thu Jul 22 08:46:02 UTC 2010


Author: rrakus

Update of /cvs/pkgs/rpms/PyXML/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv12200

Modified Files:
	PyXML.spec 
Log Message:
Added check routine. Better to use symlink to python's pyexpat library (#614911)


Index: PyXML.spec
===================================================================
RCS file: /cvs/pkgs/rpms/PyXML/devel/PyXML.spec,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -p -r1.44 -r1.45
--- PyXML.spec	22 Jul 2010 00:28:33 -0000	1.44
+++ PyXML.spec	22 Jul 2010 08:45:59 -0000	1.45
@@ -78,9 +78,20 @@ done
 
 %find_lang 4Suite %{name}
 
+# better to use symlink to python's pyexpat library
+# Resolves 614911
+pushd $RPM_BUILD_ROOT/%{python_sitearch}/_xmlplus/parsers
+rm -rf pyexpat.so
+ln -s %{_libdir}/python2.6/lib-dynload/pyexpat.so pyexpat.so
+popd
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%check
+cd test
+PYTHONPATH=.. python regrtest.py -v
+
 %files -f %{name}
 %defattr(-,root,root,-)
 %doc LICENCE ANNOUNCE CREDITS README README.dom README.pyexpat README.sgmlop TODO doc/*
@@ -91,6 +102,10 @@ rm -rf $RPM_BUILD_ROOT
 %{python_sitearch}/_xmlplus
 
 %changelog
+* Thu Jul 22 2010 Roman Rakus <rrakus at redhat.com> - 0.8.4-22
+- better to use symlink to python's pyexpat library (#614911)
+- Added check routine
+
 * Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 0.8.4-22
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 



More information about the scm-commits mailing list