fixed a parser bug where invalid char in comment may not be detected,

* parser.c: fixed a parser bug where invalid char in comment may
  not be detected, reported by Ashwin Sinha
* test/errors/comment1.xml result/errors/comment1.xml*: added
  the example to the regression suite
Daniel

svn path=/trunk/; revision=3647
diff --git a/libxml.spec.in b/libxml.spec.in
index 2345f3a..fd13511 100644
--- a/libxml.spec.in
+++ b/libxml.spec.in
@@ -25,7 +25,7 @@
 %package devel
 Summary: Libraries, includes, etc. to develop XML and HTML applications
 Group: Development/Libraries
-Requires: libxml2 = %{version}
+Requires: libxml2 = %{version}-%{release}
 Requires: zlib-devel
 Requires: pkgconfig
 
@@ -44,8 +44,8 @@
 %package python
 Summary: Python bindings for the libxml2 library
 Group: Development/Libraries
-Requires: libxml2 = %{version}
-Requires: %{_libdir}/python%(echo `python -c "import sys; print sys.version[0:3]"`)
+Requires: libxml2 = %{version}-%{release}
+Requires: python
 
 %description python
 The libxml2-python package contains a module that permits applications